Skip to main content
added 20 characters in body
Source Link
Ajay Kumar
  • 1.4k
  • 1
  • 11
  • 17

I am using Selenium to open different pages of a site. Have tried multiple times but the browser does not open a second webpage after the initial GET call. Have tried on both Chrome and Safari. Here is my code:

driver = webdriver.Chrome() driver.get("https://www.justdial.com/Chennai/Hr-Consultancy-Services/nct-10258625/page-2") driver.set_page_load_timeout(30) driver.get("https://www.justdial.com/Chennai/Hr-Consultancy-Services/nct-10258625/page-3") 

Here is the error I get for the second call:

enter image description here

The info from Network logs is Error 504, but I have verified that it works perfectly when done on another window of the browser, without automation

I am using Selenium to open different pages of a site. Have tried multiple times but the browser does not open a second webpage after the initial GET call. Have tried on both Chrome and Safari. Here is my code:

driver = webdriver.Chrome() driver.get("https://www.justdial.com/Chennai/Hr-Consultancy-Services/nct-10258625/page-2") driver.set_page_load_timeout(30) driver.get("https://www.justdial.com/Chennai/Hr-Consultancy-Services/nct-10258625/page-3") 

Here is the error I get for the second call:

enter image description here

The info from Network logs is Error 504, but I have verified that it works perfectly when done on another window of the browser

I am using Selenium to open different pages of a site. Have tried multiple times but the browser does not open a second webpage after the initial GET call. Have tried on both Chrome and Safari. Here is my code:

driver = webdriver.Chrome() driver.get("https://www.justdial.com/Chennai/Hr-Consultancy-Services/nct-10258625/page-2") driver.set_page_load_timeout(30) driver.get("https://www.justdial.com/Chennai/Hr-Consultancy-Services/nct-10258625/page-3") 

Here is the error I get for the second call:

enter image description here

The info from Network logs is Error 504, but I have verified that it works perfectly when done on another window of the browser, without automation

Source Link
Ajay Kumar
  • 1.4k
  • 1
  • 11
  • 17

Selenium can't open a second page

I am using Selenium to open different pages of a site. Have tried multiple times but the browser does not open a second webpage after the initial GET call. Have tried on both Chrome and Safari. Here is my code:

driver = webdriver.Chrome() driver.get("https://www.justdial.com/Chennai/Hr-Consultancy-Services/nct-10258625/page-2") driver.set_page_load_timeout(30) driver.get("https://www.justdial.com/Chennai/Hr-Consultancy-Services/nct-10258625/page-3") 

Here is the error I get for the second call:

enter image description here

The info from Network logs is Error 504, but I have verified that it works perfectly when done on another window of the browser