๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๐Ÿ‘จ๐Ÿผ‍๐Ÿ’ป๊ฐœ๋ฐœ/์…€๋ ˆ๋‹ˆ์›€

์…€๋ ˆ๋‹ˆ์›€ - ํŠน์ • URL ์ฐจ๋‹จํ•˜๊ธฐ

by Janger 2022. 10. 11.
728x90
๋ฐ˜์‘ํ˜•

 

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

https://stackoverflow.com/questions/46891301/can-i-automate-chrome-request-blocking-using-selenium-webdriver-for-ruby

 

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

 

728x90
๋ฐ˜์‘ํ˜•