์ ๋ ๋์ - ํน์ URL ์ฐจ๋จํ๊ธฐ
chromeOptions.AddArgument("--host-resolver-rules=MAP ssl.pstatic.net 127.0.0.1");
string strCmdText;
strCmdText = "/C ipconfig /flushdns";
System.Diagnostics.Process.Start("CMD.exe", strCmdText);
Thread.Sleep(3000);
URL์ DNS๋ฅผ 127.0.0.1๋ก ์ค์ ํด์ ์ฐจ๋จํ๋ ๋ฐฉ์์ด๋ผ ๋ฐ๋ก ์ ์ฉํ๊ณ ์ถ์ผ๋ฉด dns๋ฅผ ์ด๊ธฐํํ๋ ๋ช ๋ น์ด๋ ํจ๊ป ์จ์ค์ผ ํจ
์ถ์ฒ:
์ ๋ ๋์ URL Blocking
Can I automate Chrome request blocking using Selenium-webdriver for Ruby?
I am a QA automation analyst responsible for testing a multi-platform online banking application. For our automation testing we use RubyMine suite with Gherkin/Cucumber, Ruby-scripted steps and Sel...
stackoverflow.com
Run Command Prompt Commands
https://stackoverflow.com/questions/1469764/run-command-prompt-commands
Run Command Prompt Commands
Is there any way to run command prompt commands from within a C# application? If so how would I do the following: copy /b Image1.jpg + Archive.rar Image2.jpg This basically embeds an RAR file wi...
stackoverflow.com