Python Forum
Getting error when accessing elements in a modal window of an webpage using selenium
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting error when accessing elements in a modal window of an webpage using selenium
#4
You might want to wait until overlay is closed:
WebDriverWait(driver, 10).until_not(EC.visibility_of_element_located((By.CLASS_NAME, 'modal-backdrop')))
Reply


Messages In This Thread
RE: Getting error when accessing elements in a modal window of an webpage using selenium - by mlieqo - Jul-13-2018, 10:44 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Error 404 when loading my webpage dissi 0 275 Mar-20-2024, 03:12 PM
Last Post: dissi
  Selenium Window Not Closing gw1500se 4 2,628 May-02-2022, 02:23 PM
Last Post: gw1500se
  Locating elements via Selenium peterjv26 2 2,494 Oct-02-2020, 07:50 AM
Last Post: peterjv26
  Selenium: accessing a drop-down menus without select tags ClassicalSoul 0 2,077 Apr-19-2020, 03:53 PM
Last Post: ClassicalSoul
  Selenium cant get elements from HTML(Rookie) Troop 1 2,178 Mar-31-2020, 03:37 AM
Last Post: Larz60+
  Selenium Random Elements Id and class AgileAVS 1 3,758 Mar-01-2020, 12:31 PM
Last Post: metulburr
  Selenium weird error julio2000 0 1,684 Feb-23-2020, 01:24 PM
Last Post: julio2000
  Selenium webdriver error WiPi 4 12,177 Feb-09-2020, 11:38 AM
Last Post: WiPi
  error when running headless selenium julio2000 2 4,587 Feb-01-2020, 12:41 PM
Last Post: julio2000
  Error clicking button with selenium julio2000 4 5,373 Jan-06-2020, 10:59 AM
Last Post: julio2000

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020