【Robotframework】WebDriverException: Message: Expected [object Undefined] undefined to be a string

xiaoxiao2021-02-28  85

平台:Ubuntu 16

WebDriverException: Message: Expected [object Undefined] undefined to be a string

Expected [object Undefined]

还是版本不匹配问题

在解决这问题上,你可能还会碰到如下错误。

FAIL : KeyError: 'value' //或 WebDriverException: Message: Missing 'type' parameter

最后:selenium (3.4.3),geckodriver(0.16.1),均为最新。

终于,终于不fail了。


下面是整理的命令行 和 资料来源

//下载geckodriver,在ubuntu //1 wget https://github.com/mozilla/geckodriver/releases/download/v0.13.0/geckodriver-v0.13.0-linux64.tar.gz //2 tar -xvzf geckodriver* //3 chmod +x geckodriver //4 export PATH=$PATH:/path-to-extracted-file/geckodriver //4 或者 sudo mv geckodriver /usr/local/bin/

How to install geckodriver in ubuntu

sudo pip install selenium==3.4.3 sudo rm selenium -rf
转载请注明原文地址: https://www.6miu.com/read-35644.html

最新回复(0)