我已经从 Microsoft 网站下载并安装了 edge webdriver。我在“ C:\Python27\Lib\site-packages\selenium-2.48.0-py2.7.egg\selenium\webdriver\edge ”中看到了Edge驱动程序文件夹。
每当我尝试执行以下机器人测试用例时:
*** Settings ***
Documentation Test Edge Browser
*** Test Case ***
Test Edge browser
open browser http://www.google.in Edge
Run Code Online (Sandbox Code Playgroud)
虽然我已经为“Mircrosoftwebdriver.exe”设置了环境路径。我看到“ WebDriverException:消息:EdgeDriver 可执行文件需要在路径中可用。请从http://go.microsoft.com/fwlink/?LinkId=619687下载”
请让我知道是否有人遇到相同的问题并已解决。
python selenium robotframework selenium-webdriver microsoft-edge
请找到以下脚本
from sys import argv
script, contact_name, contact_no = argv
def operation()
some code goes here
Run Code Online (Sandbox Code Playgroud)
由于我从命令行运行此脚本,如何将contact_name和contact_no传递给操作函数?我正在使用python 2.7