如何使用Selenium WebDriver处理EDGE浏览器的地理位置弹出窗口?

时间:2018-11-29 09:56:16

标签: java selenium-webdriver selenium-grid selenium-firefoxdriver selenium-edgedriver

使用以下代码在Firefox中禁用位置警报:

C:\Users\Desktop>python x.py -i /path_to_file/input_file_name -o /path_to_file/output_file_name
Traceback (most recent call last):
  File "x.py", line 4, in <module>
    with open(inputfile, 'r') as i, open(outputfile, 'w') as o:
FileNotFoundError: [Errno 2] No such file or directory: '-i'

是否可以处理Microsoft Edge浏览器的位置警报?

0 个答案:

没有答案