Skip to content

Instantly share code, notes, and snippets.

capitalTerefe capitolkrs

Block or report user

Report or block capitolkrs

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@cyildirim
cyildirim / Notification Disable
Created Sep 9, 2016
Webdriver Notification Disable
View Notification Disable
Map<String, Object> prefs = new HashMap<String, Object>();
prefs.put("profile.default_content_setting_values.notifications", 2); // NOTIFICATION DISABLE
ChromeOptions options = new ChromeOptions();
options.addArguments(Arrays.asList("--start-maximized", "allow-running-insecure-content", "ignore-certificate-errors"));
options.addArguments("--no-sandbox");
options.setExperimentalOption("prefs", prefs);
DesiredCapabilities capabilities = DesiredCapabilities.chrome();
capabilities.setCapability("enable-restore-session-state", true);
@julionc
julionc / 00.howto_install_phantomjs.md
Last active Aug 5, 2019
How to install PhantomJS on Debian/Ubuntu
View 00.howto_install_phantomjs.md

How to install PhantomJS on Ubuntu

Version: 1.9.8

Platform: x86_64

First, install or update to the latest system software.

sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
You can’t perform that action at this time.