Python Forum
How to access Modal window using Selenium Python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to access Modal window using Selenium Python
#1
While crawling in a web-page using python selenium, I found a link and after clicking in the link using selenium, I found a modal window appears. Now when I tried to access the window using switch to window, every time I got errors. I tried with xpath and css selector to access the buttons and drop-down menus in the modal windows but I the results are always negative. can anyone share some way-out?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Selenium Window Not Closing gw1500se 4 2,525 May-02-2022, 02:23 PM
Last Post: gw1500se
  How to access a web service from a python script? dangermaus33 6 3,116 Dec-04-2020, 07:04 AM
Last Post: dangermaus33
  Unable to access javaScript generated data with selenium and headless FireFox. pjn4 0 2,502 Aug-04-2019, 11:10 AM
Last Post: pjn4
  Issue closing an Modal Alert (popup) leviathan54 8 5,827 Apr-23-2019, 02:00 PM
Last Post: leviathan54
  Selenium opening pdf in new window test 6 10,708 Sep-15-2018, 07:55 PM
Last Post: test
  Getting error when accessing elements in a modal window of an webpage using selenium sumandas89 3 8,574 Jul-13-2018, 10:44 AM
Last Post: mlieqo
  Error in Selenium: CRITICAL:root:Selenium module is not installed...Exiting program. AcszE 1 3,588 Nov-03-2017, 08:41 PM
Last Post: metulburr

Forum Jump:

User Panel Messages

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