Closed GoogleCodeExporter closed 9 years ago
Issue is not with the chromedriver but issue occurs with Remotedriver while
using the Selenium Grid
DesiredCapabilities desiredCapabilites = DesiredCapabilities.chrome();
LoggingPreferences logPrefs = new LoggingPreferences();
logPrefs.enable(LogType.PERFORMANCE, Level.ALL);
desiredCapabilites.setCapability(CapabilityType.LOGGING_PREFS, logPrefs);
Map<String, Object> prefs = new HashMap<String, Object>();
prefs.put("traceCategories", "browser,devtools.timeline,devtools");
ChromeOptions options = new ChromeOptions();
options.setExperimentalOption("perfLoggingPrefs", prefs);
desiredCapabilites.setCapability(ChromeOptions.CAPABILITY, options);
ChromeDriver driver = new ChromeDriver(desiredCapabilites) ; ==> Works fine
// RemoteWebDriver driver = new RemoteWebDriver(new
URL("http://localhost:4444/wd/hub"), desiredCapabilites); ==> Issue is here
try {
System.out.println(driver.manage().logs().getAvailableLogTypes());
driver.get("http://google.com");
for (LogEntry logEntry :
driver.manage().logs().get(LogType.PERFORMANCE).getAll()) {
System.out.println(logEntry); }
} finally { driver.quit(); }
Please report a new issue in selenium list
https://code.google.com/p/selenium/issues/list
Thanks,
Original comment by gmanikp...@chromium.org
on 2 Apr 2015 at 6:35
Original comment by gmanikp...@chromium.org
on 8 Apr 2015 at 6:13
Original comment by gmanikp...@chromium.org
on 29 Apr 2015 at 9:01
I am also seeing this issue. It happens on Selenium Grid consistently.
Original comment by luis.ate...@citrix.com
on 27 May 2015 at 5:50
Original issue reported on code.google.com by
kolobub...@gmail.com
on 2 Apr 2015 at 3:36