When a link is clicked manually in my application, it opens in new tab in Chrome and IE.However when my script is run, the link opens in a new window in IE instead of new tab. Same script runs as expected in Chrome. Any idea how to get rid of this?
相关问题
- How to fix IE ClearType + jQuery opacity problem i
- Selecting an item from a combo box selenium driver
- Is TWebBrowser dependant on IE version?
- Selenium in Java is not finding element when using
- How to send text to the search field through Selen
Change the default settings of your IE.
Open Internet Explorer, click the Tools icon (or press Ctrl-X), and then click Internet Options.
In the General tab, find the Tabs section, then click the Settings button within that section.
Midway down that Settings dialog, there's an option called "When a new tab is opened, open:"—and a pull-down menu below it.
Click that pull-down, then choose The new tab page. (Joel's somehow got set to another option: "Your first home page.")
Click OK, then OK again.