This file contains hidden or 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
'{"query": "{ grid { nodes { id, uri, status, maxSession, capabilities }, uri, totalSlots, usedSlots, sessionCount } }"}' |
This file contains hidden or 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
{ | |
"value": { | |
"error": "unknown error", | |
"message": "Unable to determine type from: q. Last 1 characters read: q\nBuild info: version: '4.0.0-alpha-7', revision: '117b9d61c9'\nSystem info: host: 'router', ip: '172.18.0.11', os.name: 'Linux', os.arch: 'amd64', os.version: '4.19.76-linuxkit', java.version: '1.8.0_265'\nDriver info: driver.version: unknown", | |
"stacktrace": "org.openqa.selenium.json.JsonException: Unable to determine type from: q. Last 1 characters read: q\nBuild info: version: '4.0.0-alpha-7', revision: '117b9d61c9'\nSystem info: host: 'router', ip: '172.18.0.11', os.name: 'Linux', os.arch: 'amd64', os.version: '4.19.76-linuxkit', java.version: '1.8.0_265'\nDriver info: driver.version: unknown\n\tat org.openqa.selenium.json.JsonInput.peek(JsonInput.java:126)\n\tat org.openqa.selenium.json.JsonTypeCoercer.lambda$buildCoercer$6(JsonTypeCoercer.java:140)\n\tat org.openqa.selenium.json.JsonTypeCoercer.coerce(JsonTypeCoercer.java:126)\n\tat org.openqa.selenium.json.Json.toType(Json.java:69 |
This file contains hidden or 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
navigator.mediaDevices.getUserMedia |
This file contains hidden or 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
let chrome = require("selenium-webdriver/chrome"); | |
let options = new chrome.Options(); | |
options.addExtensions("/path/to/build.crx") | |
let driver = new webdriver.Builder() | |
.forBrowser('chrome') | |
.setChromeOptions(options) | |
.build();``` | |
```selenium_1 | console.error node_modules/jest-jasmine2/build/jasmine/Env.js:290 | |
selenium_1 | SessionNotCreatedError: Unable to create session for <CreateSessionRequest with Capabilities {browserName: chrome, goog:chromeOptions: {extensions: [build.crx]}}> | |
selenium_1 | Build info: version: '4.0.0-alpha-7', revision: '117b9d61c9' |
This file contains hidden or 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
let chromeCapabilities = Capabilities.chrome() | |
let chromeOptions = { | |
'args': ['load-extension=/app/build'] | |
} | |
chromeCapabilities.set('chromeOptions', chromeOptions) | |
export const driver = new Builder() | |
.forBrowser('chrome') |
This file contains hidden or 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
org.openqa.selenium.ElementNotInteractableException: The command failed because the specified element is not pointer or keyboard interactable. | |
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' | |
System info: host: 'xxxxxx', ip: 'xxxxxx', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '13.0.2' | |
Driver info: org.openqa.selenium.edge.EdgeDriver | |
Capabilities {acceptInsecureCerts: false, browserName: MicrosoftEdge, browserVersion: 44.18362.449.0, javascriptEnabled: true, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(), setWindowRect: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}}``` | |
I tried to the below | |
```JavascriptExecutor executor = (JavascriptExecutor)driver; | |
executor.executeScript("arguments[0].style.display = 'block';", driver.findElement(By.cssSelector("input[type='file']"))); | |
driver.findElement(By.cssSelector("input[type='file']")).sendKeys("xxxx") |
This file contains hidden or 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 org.openqa.selenium.By; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.WebElement; | |
import org.openqa.selenium.chrome.ChromeDriver; | |
import org.openqa.selenium.support.ui.ExpectedConditions; | |
import org.openqa.selenium.support.ui.WebDriverWait; | |
import java.time.Duration; | |
public class TestAtlassianJRAChrome { |
This file contains hidden or 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
ExpectedConditions.elementToBeClickable instead of ExpectedConditions.visibilityOfElementLocated |
This file contains hidden or 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
<input type="password" class="whsOnd zHQkBf" jsname="YPqjbf" autocomplete="current-password" spellcheck="false" tabindex="0" aria-label="Ingresa tu contraseña" name="password" autocapitalize="off" dir="ltr" data-initial-dir="ltr" data-initial-value=""> |
This file contains hidden or 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
/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java -javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=62206:/Applications/IntelliJ IDEA.app/Contents/bin -Dfile.encoding=UTF-8 -classpath /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/H |