gpt4 book ai didi

specific custom path of firefox for executing the automation(用于执行自动化的Firefox的特定自定义路径)

转载 作者:bug小助手 更新时间:2023-10-28 11:37:26 24 4
gpt4 key购买 nike



I am using "SeleniumLibrary" in robot framework . I installed two version of firefox in my machine . I would like to use the specific custom path of firefox for executing the automation .Please help me out to sort out this issue as earlier as possible

我在机器人框架中使用的是“SeleniumLibrary”。我在我的机器上安装了两个版本的Firefox。我想使用Firefox的特定自定义路径来执行自动化。请尽快帮助我解决这个问题


更多回答

Please provide enough code so others can better understand or reproduce the problem.

请提供足够的代码,以便其他人能够更好地理解或重现问题。

优秀答案推荐

You can use Create webdriver keyword with options like that:

您可以将CREATE WebDIVER关键字与如下选项一起使用:


Create webdriver   Firefox     firefox_binary=C:\\Program Files\\Mozilla Firefox2\\firefox.exe    executable_path=C:\\opt\\webdrivers2\\geckodriver.exe

Tested on:

测试对象:



  • robotframework-seleniumlibrary==6.0.0

  • selenium==4.1.5


更多回答

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com