Hello everyone, my problem is that when I run the script, it’s not the site I need to open, but a page with the following information: This search session has expired. Please start a search session again . I looked on the Internet, but did not come to anything. So, I wanted to know if it is possible to implement a restart of Firefox instances in the script? Thank you very much!
- You can use Selenium with the Firefox engine. Or open firefox through subprocess and close manually - gil9red
- When I run the script, it’s not the site I want to open, but a page with this information: This search session has expired. Please start a search session again. And isn’t something like "Restore last session on open" set in Firefox preferences? if so, change it to a static start page. - Akina
- @ gil9red I open Firefox via driver = webdriver.Firefox () . The first time it seems to open normally, and all subsequent ones with an error - Karlson21
|