Hi, The complete console error message is Traceback (most recent call last): File "namma.py", line 12, in <module> driver=webdriver.Firefox(options=opts) File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/firefox/webdriver.py", line 170, in __init__ RemoteWebDriver.__init__( File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__ self.start_session(capabilities, browser_profile) File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute self.error_handler.check_response(response) File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.TimeoutException: Message: connection refused
On Sat, Jul 10, 2021 at 7:57 AM Rengaraj D <sakthirenga...@gmail.com> wrote: > > > On Sat, 10 Jul 2021 at 00:23, Gopi jack <jackgopi...@gmail.com> wrote: > >> Hi all, >> i was used the selenium web driver (headless mode) to open >> websites and find the next and next pages to click and get the data by >> using beautifulsoup.It was working fine in my machine but when i was >> trying to run the python file on a remote server and the error was raised. >> >> ( raise exception_class(message, screen, stacktrace) >> (selenium.common.exceptions.TimeoutException: Message: connection refused) >> > > Can you paste the complete console error messages ? > > Regards > Rengaraj > _______________________________________________ > Chennaipy mailing list > Chennaipy@python.org > https://mail.python.org/mailman/listinfo/chennaipy >
_______________________________________________ Chennaipy mailing list Chennaipy@python.org https://mail.python.org/mailman/listinfo/chennaipy