Skip to content

Instantly share code, notes, and snippets.

View Почиcтить рекламу на rezka.ag
// ==UserScript==
// @name rezka
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @include https://rezka*
// @grant none
// ==/UserScript==
function removeIframe(){
View gist:cd3e7fe6441ee6148e66e1c8475fd3cc
(node:13395) UnhandledPromiseRejectionWarning: Error: Unable to create session from {
"desiredCapabilities": {
"rotatable": true,
"goog:chromeOptions": {
"perfLoggingPrefs": {
"traceCategories": "performance"
}
},
"locationContextEnabled": true,
"loggingPrefs": {
View gist:0b1e65317cda7727a3984caf8796ee06
var webdriverio = require('webdriverio');
(async function () {
var client = webdriverio.remote(getOptions(true));
await client.init();
await client.url('https://duckduckgo.com/');
})();
function getOptions() {
var options = {
desiredCapabilities: {