selenium - Developers tool(F12) is opening in Internet Explorer when it is launched by watir-webdriver -
i automating web application on internet explorer using watir-webdriver , ruby. when run script in laptop[win7(x64) , ie11] running without opening developers tool in internet explorer. when test same script in virtual machine[win8(x64) , ie10], intenet exploerer browser opening developer tool. has idea, why happening? i'm using below code launch browser:
selenium::webdriver::remote::capabilities.ie(:ignoreprotectedmodesettings => true) browser = watir::browser.new :ie
when opening internet explorer, developer toolbar state same when ie last closed. in other words, developer toolbar open if (the toolbar) open when ie last closed.
try:
- log virtual machine
- manually open internet explorer, automatically have developer toolbar open
- close developer toolbar
- close browser
the next time ie started, whether manually or via webdriver, toolbar should closed.
Comments
Post a Comment