Skip to content

Instantly share code, notes, and snippets.

Sergey Tikhomirov TikhomirovSergey

Block or report user

Report or block TikhomirovSergey

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:3e69eefa41e91388e33de57cbf7362eb
Description("Conception proof")
@Test
public void demoTest1() {
inBrowser()
.click(on(link("ВХОД В ОНЛАЙН-ОФИС")))
.edit(valueOfThe(textField("Логин или почта"), List.of("XXXXX"))
.andValueOfThe(textField("Пароль"), List.of("YYYYY")))
.click(on(button("Войти")));
View gist:b2fab359c94d930c3e10bf998985704c
package com.github.toy.constructor.testng.integration;
import com.github.toy.constructor.core.api.Stoppable;
import org.testng.*;
import org.testng.annotations.*;
import java.lang.reflect.Method;
import java.util.HashSet;
import java.util.Set;
View gist:0daf4a85c072da8354b1cf430fbf2bc2
01:29:58.040 [main] INFO io.github.bonigarcia.wdm.WebDriverManager - Reading https://api.github.com/repos/mozilla/geckodriver/releases to seek wires, geckodriver
01:29:58.922 [main] INFO io.github.bonigarcia.wdm.WebDriverManager - Latest version of wires, geckodriver is 0.20.1
01:29:58.950 [main] INFO io.github.bonigarcia.wdm.Downloader - Using binary driver previously downloaded
01:29:58.954 [main] INFO io.github.bonigarcia.wdm.WebDriverManager - Exporting webdriver.gecko.driver as C:\Users\Sergey\.m2\repository\webdriver\geckodriver\win64\0.20.1\geckodriver.exe
1525732199230 geckodriver INFO geckodriver 0.20.1
1525732199244 geckodriver INFO Listening on 127.0.0.1:8559
1525732199916 mozrunner::runner INFO Running command: "C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe" "-marionette" "-profile" "C:\\Users\\Sergey\\AppData\\Local\\Temp\\rust_mozprofile.6KWENKP2QwN6"
1525732203324 Marionette INFO Enabled via --marionette
[GFX1-]: PossiblyBrokenSurfaceSharing_UnexpectedAMDGPU
[GFX1-]: PossiblyBrokenSurfa
View gist:af5e502d7d82b553c3302d6f8b02187f
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
View gist:6b97d51d7ab87385fd37a57b14db4fb0
java.lang.IllegalAccessError: class xxx$EmptyStepClass$ByteBuddy$uCR3YycY cannot access its superclass xxx$EmptyStepClass
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1007)
at net.bytebuddy.dynamic.loading.ByteArrayClassLoader.access$200(ByteArrayClassLoader.java:39)
at net.bytebuddy.dynamic.loading.ByteArrayClassLoader$ClassDefinitionAction.run(ByteArrayClassLoader.java:466)
at net.bytebuddy.dynamic.loading.ByteArrayClassLoader$ClassDefinitionAction.run(ByteArrayClassLoader.java:420)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at net.bytebuddy.dynamic.loading.ByteArrayClassLoader.findClass(ByteArrayClassLoader.java:273)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:563)
View gist:8fceef1d9e72c4ce5f08030ebb904096
public void tezzt() throws Exception {
SeleniumSteps selenium = getSubstituted(SeleniumSteps.class, params());
Button button = selenium.find(element(button("B1"))
.foundFrom(link("L1"))
.foundFrom(webElement(xpath(""))));
List<Link> links = selenium.find(elements(links())
.foundFrom(button)
.foundFrom(webElement(xpath(""))));
View gist:c2e5abebfd343479e8e942d0ae331eed
public void tezzt() throws Exception {
SeleniumSteps selenium = getSubstituted(SeleniumSteps.class, params());
Button button = selenium.find(element(button("B1"))
.foundFrom(link("L1"))
.foundFrom(webElement(xpath(""))));
List<Link> links = selenium.find(elements(links())
.foundFrom(button)
.foundFrom(webElement(xpath(""))));
View gist:72be6b82c9fbfd52eadecf1d59dafb84
[Appium] Welcome to Appium v1.8.0-beta3
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> GET /wd/hub/status {}
[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: []
[debug] [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.8.0-beta3","revision":null}}
[HTTP] <-- GET /wd/hub/status 200 58 ms - 78
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"browserName":"Browser","deviceName":"Android Emulator","platformName":"Android"},"capabilities":{"desiredCapabilities":{"browserName":"Browser","deviceName":"Android Emulator","platformName":"Android"},"firstMatch":[{"browserName":"Browser","appium:deviceName":"Android Emulator","platformName":"android"}]}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"browserName":"Browser","deviceName":"Android Emulator","platformName":"Android"},null,{"desiredCapabilities":{"browserName":"Browser","deviceName":"Android Emulator","platformName":"Android"},"firstMatch":[{"brows
View gist:f68a8d95ebe6826ab3a45121ef91de75
[Appium] Welcome to Appium v1.8.0-beta3
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> GET /wd/hub/status {}
[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: []
[debug] [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.8.0-beta3","revision":null}}
[HTTP] <-- GET /wd/hub/status 200 316 ms - 78
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"browserName":"Browser","deviceName":"Android Emulator","platformName":"Android"},"capabilities":{"desiredCapabilities":{"browserName":"Browser","deviceName":"Android Emulator","platformName":"Android"},"firstMatch":[{"browserName":"Browser","platformName":"android"}]}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"browserName":"Browser","deviceName":"Android Emulator","platformName":"Android"},null,{"desiredCapabilities":{"browserName":"Browser","deviceName":"Android Emulator","platformName":"Android"},"firstMatch":[{"browserName":"Browser","platformName":"andr
View gist:5987f5c74e37110427b8f5651030aa3b
[Appium] Welcome to Appium v1.8.0-beta3
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> GET /wd/hub/status {}
[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: []
[debug] [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.8.0-beta3","revision":null}}
[HTTP] <-- GET /wd/hub/status 200 47 ms - 78
[HTTP] --> GET /wd/hub/status {}
[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: []
[debug] [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.8.0-beta3","revision":null}}
[HTTP] <-- GET /wd/hub/status 200 27 ms - 78
You can’t perform that action at this time.