[Pkg-javascript-devel] Bug#1031114: jquery-timepicker: autopkgtest failures

William Desportes williamdes at wdes.fr
Sun Feb 12 01:42:12 GMT 2023


I think this has nothing to do with my package :)

> selenium.common.exceptions.WebDriverException: Message: unknown error: 
> unable to discover open pages

And this should be enough to reproduce it (deps: python3-selenium, 
chromium-driver):

from selenium import webdriver
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.common.by import By
import os

data_dir = os.getenv('AUTOPKGTEST_TMP', default='/tmp') + 
'/google-chrome'

options = webdriver.ChromeOptions()
options.add_argument('--headless')
options.add_argument('--no-sandbox')
options.add_argument('--headless')
options.add_argument('--disable-gpu')
options.add_argument('--disable-dev-shm-usage')
options.add_argument('--profile-directory=Default')
options.add_argument('--user-data-dir=' + data_dir)
driver = webdriver.Chrome(options=options)

print("Running tests")
driver.get("http://localhost:8888/SpecRunner.html?random=false")


Let me know if you can reproduce this WebDriverException



More information about the Pkg-javascript-devel mailing list