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
| * Type something into an input field. WebDriver doesn't normally clear these | |
| <rgr> * before typing, so this method does that first. It also sends a return key | |
| <rgr> * to move the focus out of the element. | |
| <rgr> */ | |
| <rgr> public void type(By locator, String text) { | |
| <rgr> WebElement element = driver.findElement(locator); | |
| <rgr> element.clear(); | |
| <rgr> element.sendKeys(text + "\n"); | |
| <rgr> } | |
| <rgr> } |
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
| public static void main(String[] args) { | |
| System.setProperty("webdriver.chrome.driver","/home/rgr/chromedriver"); | |
| ChromeOptions options = new ChromeOptions(); | |
| DesiredCapabilities capabilities = DesiredCapabilities.chrome(); | |
| capabilities.setCapability(ChromeOptions.CAPABILITY, options); | |
| Map<String, String> chromePrefs = new HashMap<String,String>(); | |
| chromePrefs.put("settings.language.preferred_languages", "pt-BR"); |
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.remote.UnreachableBrowserException: Error communicating with the remote browser. It may have died. | |
| Build info: version: '2.25.0', revision: '17482', time: '2012-07-18 22:18:01' | |
| System info: os.name: 'Linux', os.arch: 'amd64', os.version: '2.6.38-15-generic', java.version: '1.6.0_24' | |
| Driver info: driver.version: RemoteWebDriver |
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
| // JavaScript function for converting simple XPath to CSS selector. | |
| // Ported by Dither from [cssify](https://github.com/santiycr/cssify) | |
| // Example: `cssify('//div[@id="girl"][2]/span[@class="body"]//a[contains(@class, "sexy")]//img[1]')` | |
| var sub_regexes = { | |
| "tag": "([a-zA-Z][a-zA-Z0-9]{0,10}|\\*)", | |
| "attribute": "[.a-zA-Z_:][-\\w:.]*(\\(\\))?)", | |
| "value": "\\s*[\\w/:][-/\\w\\s,:;.]*" | |
| }; |
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
| JavascriptExecutor js = (JavascriptExecutor) driver; | |
| js.executeScript("document.getElementsByClassName('submenu')[1].style.display='block';"); |
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
| guarana antarctica picaretas 020515s040416h guarana antarctica picaretas 020515s040416h guarana antarctica picaretas 020515s040416h guarana antarctica picaretas 020515s040416h guarana antarctica picaretas 020515s040416h guarana antarctica | |
| guarana antarctica picaretas 020515s040416h guarana antarctica | |
| guarana antarctica picaretas 020515s040416h guarana antarctica picaretas 020515s040416h guarana antarctica picaretas 020515s040416h guarana antarctica | |
| guarana antarctica picaretas 020515s040416h guarana antarctica picaretas 020515s040416h guarana antarctica picaretas 020515s040416h guarana antarctica guarana antarctica picaretas 020515s040416h guarana antarctica picaretas 020515s040416h guarana antarctica picaretas 020515s040416h guarana antarctica | |
| guarana antarctica picaretas 020515s040416h guarana antarctica picaretas 020515s040416h guarana antarctica picaretas 020515s040416h guarana antarctica guarana antarctica picaretas 020515s040416h guarana antarctica picaretas 020515s040416h guarana antarctica pica |
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
| SambaVideos API! | |
| ===================== | |
| Este documento descreve os recursos que compõem a API do **SambaVideos**. Se você tiver quaisquer problemas ou pedidos, por favor, contate o suporte clicando aqui. | |
| ---------- | |
| Conteúdo | |
| ------- |
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
| <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> |
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
| <UrlFilterConfig> | |
| <rules ruleName="r1" osName="*" osGroup="IOS" osVersion="*" osDeviceType="*" osIsMobile="*" browserName="*" browserGroup="*" browserVersion="*" flashVersion="*" outputs="*" urlType="HLSAKAMAI" /> | |
| <rules ruleName="r2" osName="*" osGroup="ANDROID" osVersion="*" osDeviceType="*" osIsMobile="*" browserName="*" browserGroup="*" browserVersion="*" flashVersion="*" outputs="*" urlType="HLSAKAMAI" /> | |
| <rules ruleName="r3" osName="*" osGroup="BLACKBERRY" osVersion="*" osDeviceType="*" osIsMobile="*" browserName="*" browserGroup="*" browserVersion="*" flashVersion="*" outputs="BlackBerry" urlType="RTSP" /> | |
| <rules ruleName="r4" osName="*" osGroup="*" osVersion="*" osDeviceType="COMPUTER" osIsMobile="*" browserName="*" browserGroup="*" browserVersion="*" flashVersion="*" outputs="*" urlType="HDS" /> | |
| </UrlFilterConfig> |
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
| <CDNDeliveryConfig> | |
| <httpDelivery> | |
| <priority>0</priority> | |
| <provider>Akamai</provider> | |
| <prefix>http://akmd.sambavideos.sambatech.com</prefix> | |
| </httpDelivery> | |
| <rtmpDelivery> | |
| <priority>0</priority> | |
| <provider>Akamai</provider> | |
| <prefix>rtmp://akms.sambavideos.sambatech.com/ondemand</prefix> |
OlderNewer