0

The site I am visiting, using chromedriver, often has scripts that automatically open one or more tabs or browser Windows. How could I prevent this from happening?

Carson
  • 81
  • 9
  • Might want to look into JavascriptExecutor so you can manipulate the page/DOM itself. You might be able to disable some of that functionality. https://stackoverflow.com/questions/35922259/modify-innerhtml-using-selenium – Aaron Oct 12 '18 at 01:10
  • See: [How do I do X?](https://meta.stackoverflow.com/questions/253069/whats-the-appropriate-new-current-close-reason-for-how-do-i-do-x) The expectation on SO is that the user asking a question not only does research to answer their own question but also shares that research, code attempts, and results. This demonstrates that you’ve taken the time to try to help yourself, it saves us from reiterating obvious answers, and most of all it helps you get a more specific and relevant answer! See also: [ask] – JeffC Oct 17 '18 at 14:00

0 Answers0