0

Code:

webBrowser = webdriver.Ie(r'C:\Users\XYZ\WebDriver\IEDriverServer.exe')
webBrowser.get(URL)
webBrowser.implicitly_wait(15)
webBrowser.find_element_by_xpath('//input[@id="number_id"]').send_keys('12345')
webBrowser.find_element_by_id("Submit").click()
applicationData = [td.text for td in webBrowser.find_elements_by_xpath('//td[@class="wpsRow"]')]

click() is working in Chrome, FF but not in IE11. Except for click() rest of the script is working in IE11.

How to make it work in IE11.

NOTE: Using IE11-32 bit driver

1
  • 1
    Check out these links -> first, second. Hopefully they will help you :)
    – Insula
    Commented Feb 20, 2021 at 14:21

1 Answer 1

0

Open Display settings in Windows

Select "Change the size of text, apps, and other items" and set to 100%.

After above steps, Click() method worked for me.

1
  • Thanks for posting the solution to this issue. I suggest you try to mark your own answer to this question after 48 hrs when it is available to mark. It can help other community members in the future in similar kinds of issues. Thanks for your understanding. Commented Feb 22, 2021 at 2:14

Not the answer you're looking for? Browse other questions tagged or ask your own question.