我在openshift上有一个硒接口和一个硒节点铬调试器
selenium-hub-23-6sqnp 1/1 Running 0 19h
selenium-node-chrome-debug-1-mmfjq 1/1 Running 0 43m
用于selenium-node-chrome-debug。
capabilities: Capabilities {applicationName: , browserName: chrome, maxInstances: 1, platform: LINUX, platformName: LINUX, seleniumProtocol: WebDriver, server:CONFIG_UUID: 633b9bb9-e3a6-4d9f-b1ca-7b0..., version: 75.0.3770.90}
当我尝试通过
在chrome上运行脚本时driver = webdriver.Remote(command_executor='https://<selenium-hub-route>/wd/hub',desired_capabilities={"browserName":"chrome","version":"75.0.3770.90"})
错误显示为selenium.common.exceptions.WebDriverException: Message: Error forwarding the new session cannot find : Capabilities {browserName: chrome, version: 75.0.3770.90}
但是当我尝试通过
在chrome上运行脚本时driver = webdriver.Remote(command_executor='https://<selenium-hub-route>/wd/hub',desired_capabilities={"browserName":"chrome"})
脚本在(Session info: chrome=73.0.3683.86)
(Driver info: chromedriver=73.0.3683.68 (47787ec04b6e38e22703e856e101e840b65afe72),platform=Linux 3.10.0-957.21.3.el7.x86_64 x86_64)
我不知道脚本在哪里运行良好。以及为什么找不到脚本的selenium-node-chrome-debug-1-mmfjq