Skip to content

Commit c1a3c95

Browse files
committed
Force Firefox tests to use XWayland on Linux to workaround Firefox issue
1 parent 36f81bb commit c1a3c95

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/python/tests/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def driver(request):
3030
options.enable_bidi = True
3131
driver = webdriver.Chrome(options=options)
3232
elif driver_type == "firefox":
33+
os.environ["MOZ_ENABLE_WAYLAND"] = "0"
3334
driver = webdriver.Firefox()
3435
else:
3536
driver = webdriver.Chrome()

0 commit comments

Comments
 (0)