在用robotframework编写移动端测试用例(用chrome浏览器模拟手机浏览器),执行用例时, 报错selenium.common.exceptions.WebDriverException: Message: unknown error: cannot get automation extension from unknown error: page could not be found: chrome-extension://aapnijgdinlhnhlmodcfapnahmbfe
#coding=utf-8 from selenium import webdriver from time import sleep import unittest#导入unittest库 import HTMLTestRunner #创建一个类,并且该类继承unittest.case类 class Test_baidu(unittest.TestCase): #初始环境,每一个用例执行时都会先执行这里的代码 def setUp(self): self.dr=webdriver.Chrome(