This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sriharsha@Sris-MacBook-Pro selenium-webdriver % mocha -t 60000 --recursive test/lib/capabilities_test.js | |
Error: Cannot find module '../../../../bazel-genfiles/javascript/node/selenium-webdriver/lib/atoms/get-attribute.js' | |
Require stack: | |
- /Users/sriharsha/Desktop/selenium/javascript/node/selenium-webdriver/lib/http.js | |
- /Users/sriharsha/Desktop/selenium/javascript/node/selenium-webdriver/http/index.js | |
- /Users/sriharsha/Desktop/selenium/javascript/node/selenium-webdriver/index.js | |
- /Users/sriharsha/Desktop/selenium/javascript/node/selenium-webdriver/lib/test/httpserver.js | |
- /Users/sriharsha/Desktop/selenium/javascript/node/selenium-webdriver/lib/test/fileserver.js | |
- /Users/sriharsha/Desktop/selenium/javascript/node/selenium-webdriver/lib/test/index.js | |
- /Users/sriharsha/Desktop/selenium/javascript/node/selenium-webdriver/test/lib/capabilities_test.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"fields": { | |
"project": [ | |
{ | |
"id": 10000, | |
"key": "SEL", | |
"name": "seleniumjavaframework" | |
} | |
], | |
"fixVersion": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO: Analyzed 787 targets (580 packages loaded, 13033 targets configured). | |
INFO: Found 787 targets... | |
INFO: Deleting stale sandbox base /private/var/tmp/_bazel_sriharsha/498a1781a814544b42825c15ee99922c/sandbox | |
INFO: From Executing genrule //java/client/src/org/openqa/selenium/devtools:create-cdp-srcs: | |
/private/var/tmp/_bazel_sriharsha/498a1781a814544b42825c15ee99922c/sandbox/darwin-sandbox/420/execroot/selenium/bazel-out/darwin-fastbuild/bin/java/client/src/org/openqa/selenium/devtools/cdp.srcjar | |
INFO: From Building external/com_google_protobuf/libprotobuf_java.jar (122 source files, 1 source jar) [for host]: | |
warning: -parameters is not supported for target value 1.7. Use 1.8 or later. | |
INFO: From Building java/client/src/org/openqa/selenium/opera/libgenerated-opera-lib.jar (4 source files) and running annotation processors (AutoServiceProcessor): | |
java/client/src/org/openqa/selenium/opera/OperaDriverService.java:120: warning: [removal] OPERA_BLINK in BrowserType has been deprecated and marked for removal | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO: Analyzed 787 targets (580 packages loaded, 13033 targets configured). | |
INFO: Found 787 targets... | |
INFO: Deleting stale sandbox base /private/var/tmp/_bazel_sriharsha/498a1781a814544b42825c15ee99922c/sandbox | |
INFO: From Executing genrule //java/client/src/org/openqa/selenium/devtools:create-cdp-srcs: | |
/private/var/tmp/_bazel_sriharsha/498a1781a814544b42825c15ee99922c/sandbox/darwin-sandbox/420/execroot/selenium/bazel-out/darwin-fastbuild/bin/java/client/src/org/openqa/selenium/devtools/cdp.srcjar | |
INFO: From Building external/com_google_protobuf/libprotobuf_java.jar (122 source files, 1 source jar) [for host]: | |
warning: -parameters is not supported for target value 1.7. Use 1.8 or later. | |
INFO: From Building java/client/src/org/openqa/selenium/opera/libgenerated-opera-lib.jar (4 source files) and running annotation processors (AutoServiceProcessor): | |
java/client/src/org/openqa/selenium/opera/OperaDriverService.java:120: warning: [removal] OPERA_BLINK in BrowserType has been deprecated and marked for removal | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO: Analyzed 787 targets (580 packages loaded, 13033 targets configured). | |
INFO: Found 787 targets... | |
INFO: Deleting stale sandbox base /private/var/tmp/_bazel_sriharsha/498a1781a814544b42825c15ee99922c/sandbox | |
INFO: From Executing genrule //java/client/src/org/openqa/selenium/devtools:create-cdp-srcs: | |
/private/var/tmp/_bazel_sriharsha/498a1781a814544b42825c15ee99922c/sandbox/darwin-sandbox/420/execroot/selenium/bazel-out/darwin-fastbuild/bin/java/client/src/org/openqa/selenium/devtools/cdp.srcjar | |
INFO: From Building external/com_google_protobuf/libprotobuf_java.jar (122 source files, 1 source jar) [for host]: | |
warning: -parameters is not supported for target value 1.7. Use 1.8 or later. | |
INFO: From Building java/client/src/org/openqa/selenium/opera/libgenerated-opera-lib.jar (4 source files) and running annotation processors (AutoServiceProcessor): | |
java/client/src/org/openqa/selenium/opera/OperaDriverService.java:120: warning: [removal] OPERA_BLINK in BrowserType has been deprecated and marked for removal | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
WebElement { | |
driver_: Driver { | |
session_: [Promise], | |
executor_: [Executor], | |
fileDetector_: null, | |
onQuit_: [Function: onQuit] | |
}, | |
id_: Promise { '2ca98be3-e3ec-42b6-94cd-d224236045a2' } | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
printToPdf({orientation, scale, background, width, height, top, bottom, left, right, shrinkToFit, pageRanges}) { | |
let page = {}; | |
let margin = {}; | |
let keys = arguments[0]; | |
let params= {}; | |
Object.keys(keys).forEach(function(key){ | |
switch (key) { | |
case 'orientation': | |
if(orientation && orientation !== 'landscape' && orientation !== 'portrait') { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
validatePrintToPdfParams(key, data, object, page, margin) { | |
let obj = { | |
'orientation': function () { | |
if (data && data !== 'landscape' && data !== 'portrait') { | |
throw new error.InvalidArgumentError( | |
`Invalid argument '${key}'. It should be either "landscape" (or) "portrait"`); | |
} else { | |
object.orientation = data; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
public class shellScript { | |
public static void main(String args[]) throws IOException, InterruptedException { | |
connectWallet(); | |
getAddresses(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -155,6 +155,7 @@ const Name = { | |
SCREENSHOT: 'screenshot', | |
TAKE_ELEMENT_SCREENSHOT: 'takeElementScreenshot', | |
PRINT_PAGE: 'printPage', | |
SET_SCRIPT_TIMEOUT: 'setScriptTimeout', | |
GET_TIMEOUT: 'getTimeout', | |
3 javascript/node/selenium-webdriver/lib/http.js | |
@@ -228,6 +228,7 @@ const COMMAND_MAP = new Map([ |
OlderNewer