selenium show empty logs -


please give me tip. idea check chain of redirects , control final page. redirects urls selenium's performance logs. idea works, try page url http://aiasmbapps.tk/dload/app/a767459c8a3adb46bd099ca8425f625c/mixapp.apk (this final url, before 3-4 redirects). empty logs code

options=new chromeoptions(); options.setbinary("/usr/bin/chromium-browser"); options.addarguments(standardoptions); options.addarguments("--safebrowsing-disable-download-protection"); options.addarguments("--user-agent=mozilla/5.0 (linux; android 5.1; m2 note build/lmy47d) applewebkit/537.36 (khtml, gecko) chrome/58.0.3029.83 mobile safari/537.36"); capabilities=desiredcapabilities.chrome(); capabilities.setplatform(platform.android);  string downloadfilepath = "/tmp"; prefs.put("profile.default_content_settings.popups", 0); prefs.put("download.default_directory", downloadfilepath); prefs.put("safebrowsing.enabled", "false"); options.setexperimentaloption("prefs", prefs);  logprefs = new loggingpreferences(); logprefs.enable(logtype.performance, level.all); capabilities.setcapability(capabilitytype.logging_prefs, logprefs); capabilities.setcapability(chromeoptions.capability, options); capabilities.setcapability(capabilitytype.unexpected_alert_behaviour, unexpectedalertbehaviour.ignore); driver=new chromedriver(capabilities); 

why performance log empty try work link?


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -