使用硒的chromecast自动化

时间:2017-08-03 10:06:35

标签: selenium chromecast

尝试使用selenium自动化chromecast时,我无法在chrome上找到强制转换图标。

试图添加扩展名,创建默认浏览器仍无效果。

以下是我尝试使用TestNG运行的代码。

System.setProperty("webdriver.chrome.driver", "D:\\Users\\chromedriver.exe");
ChromeOptions options = new ChromeOptions();
options.addArguments("user-data-dir=C:\\Selenium\\BrowserProfile");
driver = new ChromeDriver(options);
driver.get("https://example.com");

请您告诉我们如何使用硒自动化Chromecast。

0 个答案:

没有答案