Selenium Test Cases #457
Replies: 6 comments
-
encode/uvicorn#1103 is the core discussion and there are corresponding stackoverflow questions with proposals |
Beta Was this translation helpful? Give feedback.
-
selenium2022-08-27.mp4 |
Beta Was this translation helpful? Give feedback.
-
https://stackoverflow.com/questions/72374955/failed-to-read-marionette-port-when-running-selenium-geckodriver-firefox-a is a followup issue Captured stdout for tests.test_with_selenium.TestWithSelenium.testClickDemo
Starting test testClickDemo, debug=False ...
test testClickDemo, debug=False took 23.0 s
Error in tests.test_justpy_core.TestJustpyCore.testWp
File "/opt/hostedtoolcache/Python/3.7.13/x64/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/opt/hostedtoolcache/Python/3.7.13/x64/lib/python3.7/site-packages/asynctest/case.py", line 293, in run
self._setUp()
File "/opt/hostedtoolcache/Python/3.7.13/x64/lib/python3.7/site-packages/asynctest/case.py", line 248, in _setUp
self.loop.run_until_complete(self.setUp())
File "/opt/hostedtoolcache/Python/3.7.13/x64/lib/python3.7/site-packages/asynctest/case.py", line 224, in wrapper
return method(*args, **kwargs)
File "/opt/hostedtoolcache/Python/3.7.13/x64/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
return future.result()
File "/home/runner/work/justpy/justpy/tests/test_justpy_core.py", line 14, in setUp
await BaseAsynctest.setUp(self, self.wp_to_test)
File "/home/runner/work/justpy/justpy/tests/basetest.py", line 54, in setUp
self.browsers = self._getSeleniumBrowsers()
File "/home/runner/work/justpy/justpy/tests/basetest.py", line 174, in _getSeleniumBrowsers
browsers.append(self._getFirefoxWebDriver())
File "/home/runner/work/justpy/justpy/tests/basetest.py", line 185, in _getFirefoxWebDriver
browser = webdriver.Firefox(options=options)
File "/opt/hostedtoolcache/Python/3.7.13/x64/lib/python3.7/site-packages/selenium/webdriver/firefox/webdriver.py", line 180, in __init__
keep_alive=True)
File "/opt/hostedtoolcache/Python/3.7.13/x64/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 270, in __init__
self.start_session(capabilities, browser_profile)
File "/opt/hostedtoolcache/Python/3.7.13/x64/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 363, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/opt/hostedtoolcache/Python/3.7.13/x64/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 428, in execute
self.error_handler.check_response(response)
File "/opt/hostedtoolcache/Python/3.7.13/x64/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 243, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message: Failed to read marionette port |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
The Jenkin nightly build on my linux machine throws:
|
Beta Was this translation helpful? Give feedback.
-
The first selenium test case attempt failed i am now trying headless as outlined in https://stackoverflow.com/a/47642457/1497139
Beta Was this translation helpful? Give feedback.
All reactions