【问题标题】:How do you set up opera driver or any other driver in ubuntu after downloading the zip file?下载 zip 文件后,如何在 ubuntu 中设置 opera 驱动程序或任何其他驱动程序?
【发布时间】:2020-04-22 09:59:30
【问题描述】:

我是自动化新手,我正在开发 ubuntu 操作系统,现在我在机器人框架中有几个测试用例,我正在尝试使用 opera 浏览器运行它们,但我不知道之后如何安装驱动程序我从这里下载了 zip:

https://github.com/operasoftware/operachromiumdriver/releases

设置的步骤是什么?

【问题讨论】:

  • 您没有安装驱动程序。只需将其复制到系统 PATH 上的某个位置即可。

标签: linux selenium robotframework operadriver


【解决方案1】:

如果有人需要,我解决了,这些是步骤:

1. Go to https://github.com/operasoftware/operachromiumdriver/releases
2. Right click on  operadriver_linux64.zip 
3. Copy link address 
4. Open Terminal 
5. type wget https://github.com/operasoftware/operachromiumdriver/releases/download/v.78.0.3904.87/operadriver_linux64.zip (this is the address you copied before)
6. unzip operadriver_linux64.zip
7. sudo mv operadriver /usr/bin/operadriver
8. sudo chown root:root /usr/bin/operadriver
9. sudo chmod +x /usr/bin/operadriver
10. Verify it is correct installation by typing... which operadriver (you should get the path like usr/bin/operadriver.

【讨论】:

  • operadriver 不必进入 /usr/bin。它可以位于 PATH 中的任何文件夹中。
猜你喜欢
  • 1970-01-01
  • 2015-03-05
  • 1970-01-01
  • 2016-07-25
  • 1970-01-01
  • 2013-01-27
  • 1970-01-01
  • 2014-09-03
  • 1970-01-01
相关资源
最近更新 更多