Closed Remppa closed 1 year ago
Have you tried a different browser once, e.g. firefox?
Hi @manykarim. The tests are executable when using Firefox.
Ping @xylix this belongs on your expert area.
@allcontributors please add @Remppa for bugs
@aaltat
I've put up a pull request to add @Remppa! :tada:
Just tried with latest robot framework-browser and no luck. Any advice how push this issue to upstream? Or hints to find a workaround 🤔
This should work after the next release.
Do we have any idea when this will be fixed. We are also facing the same issue.
It is working with default browser(chromium) but failing when we are passing channel as chrome in new_browser function.
The original issue described in this issue is fixed. I'm ok with closing this issue. Big thanks to @xylix & co.
Thanks for helping with all the details around the issue! And yeah should now work as expected on 16.0.1 and future robotframework-browser docker images.
Describe the bug Test execution fails when trying to runNew Browser KW in suite setup. marketsquare/robotframework-browser docker image is used to run simple browser test. There has been growing amount of people facing similar problem on their Macs.
To Reproduce Steps to reproduce the behavior:
Expected behavior Assumption is that the execution of the tests in M1 chip would not fail
Screenshots
Desktop (please complete the following information):
Additional context
10:18:53.984 INFO {"browser": "chromium", "headless": true, "args": ["--no-sandbox", "--disable-setuid-sandbox", "--single-process"], "devtools": false, "handleSIGHUP": true, "handleSIGINT": true, "handleSIGTERM": true, "slowMo": 0.0, "timeout": 30000.0, "deprecated_pos_args": [], "tracesDir": "/home/robot/robot_reports/browser/traces/d4304355-6f57-4b06-b541-8d3cfb41914b"}
10:18:56.897 WARN Keyword 'Take Screenshot fail-screenshot-{index}' could not be run on failure: Error: Tried to take screenshot, but no page was open.
10:18:56.899 FAIL Error: browserType.launch: Browser closed. ==================== Browser output: ====================