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
java -jar selenium-server-standalone-3.6.0.jar -role hub |
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
class Sample { | |
public String solution(String S) { | |
int len = S.length(); | |
if (len >= 2 && len <= 100) { | |
char[] charList = new char[len]; | |
charList = S.toCharArray(); | |
int charDash = 0; | |
String sol = ""; | |
int count = 0; |
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
version: '2' | |
services: | |
# Used for my local environment | |
selenium: | |
image: selenium/standalone-chrome:3.4.0 | |
ports: | |
- "4444:4444" # WebDriver | |
- "5900:5900" # VNC | |
environment: | |
- TZ=Europe/Moscow |
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
public class TestCaseForIssue465 { | |
// Setting the url for the WebDriver | |
private static final String URL = "http://localhost:4444/wd/hub"; | |
@Test | |
public void checkPageTitle() throws MalformedURLException { | |
for (int i = 0; i < 100; i++) { | |
System.out.println("Execution # " + i); | |
DesiredCapabilities desiredCapabilities = DesiredCapabilities.chrome(); |
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
version: '2.1' | |
services: | |
app: | |
extends: | |
file: ../../docker-compose.yml | |
service: app | |
environment: | |
# Path is relative to the location of the dev server. | |
- WEBPACK_CONFIG=./acceptance/webpack.config.acceptance.js |
NewerOlder