I'm Automation Quality Assurance Engineer
- 🔭 I’m currently working on (Java Automation Framework)
- 🌱 I’m currently learning DevOps
- 👯 I’m looking to collaborate on Automation frameworks
- 💬 Ask me about How to automate stuff?
Selenium Java
I'm Automation Quality Assurance Engineer
https://github.com/SeleniumHQ/docker-selenium
Edge Microsoft Edge
$ docker run -d -p 4444:4444 --shm-size="2g" selenium/standalone-edge:4.1.1-20211217
Original implementations was:
if (Objects.isNull(driver)) {
properties = new Properties();
FileInputStream file = new FileInputStream("src/main/resources/local.properties");
properties.load(file);
String browser = properties.getProperty("browser");
ChromeOptions options = new ChromeOptions();
options.addArguments("--disable-gpu");
options.addArguments("--no-sandbox");
options.addArguments("--disable-dev-shm-usage");
options.addArguments("--headless");
if (browser.equals("chrome")) {
WebDriverManager.chromedriver().setup();
driver = new ChromeDriver(options);
} else if (browser.equals("edge")) {
WebDriverManager.edgedriver().setup();
driver = new EdgeDriver();
} else if (browser.equals("safari")) {
WebDriverManager.safaridriver().setup();
driver = new SafariDriver();
} else if (browser.equals("firefox")) {
WebDriverManager.firefoxdriver().setup();
driver = new FirefoxDriver();
}
options.addArguments("--disable-gpu"); options.addArguments("--no-sandbox"); options.addArguments("--disable-dev-shm-usage"); //TODO Implement headless mode only for the server runs //options.addArguments("--headless");
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.721 s
[INFO] Finished at: 2021-12-20T16:59:58-08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project JQMax: Fatal error compiling: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x22c75c01) cannot access class com.sun.tools.javac.processing.JavacProcessingEnvironment (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.processing to unnamed module @0x22c75c01 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
maxsudik@Maxs-MBP JQMax %
After Running testng.xml I got an error. Here is a log:
java.nio.file.InvalidPathException: Illegal char <:> at index 76:
C:\Users\wbashinski\IdeaProjects\JQMax-main\extent-test-output\2022-02-10T21:14:04\index.html
at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
at java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:229)
at java.base/java.io.File.toPath(File.java:2329)
at com.aventstack.extentreports.reporter.AbstractFileReporter.(AbstractFileReporter.java:40)
at com.aventstack.extentreports.reporter.ExtentSparkReporter.(ExtentSparkReporter.java:51)
at reports.ExtentReport.initReport(ExtentReport.java:25)
at listeners.ListenersClass.onStart(ListenersClass.java:18)
at org.testng.SuiteRunner.invokeListeners(SuiteRunner.java:260)
at org.testng.SuiteRunner.run(SuiteRunner.java:324)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1249)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
at org.testng.TestNG.runSuites(TestNG.java:1092)
at org.testng.TestNG.run(TestNG.java:1060)
at com.intellij.rt.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:66)
at com.intellij.rt.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:109)
Process finished with exit code -1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.