标签: selenium-webdriver get selenium-chromedriver
使用ChromeDriver运行GET时,如何在标头中发送参数?
例如:
@Test public void testGoogleSearch() { // add header param 'Authorization' : 'Bearer Xxddxxx' WebDriver driver = new ChromeDriver(); driver.get("http://www.google.com/xhtml"); }