-
How to build jar out of your scala project using assembly
Currenty, in my free time, i'm working on my own project that will allow in the future to generate beautiful and meaningful test data for automated tests. The idea is to have it as a jar file that will be either included into project manually, or via maven. That's why…
-
Found my own solution for WebDriver "StaleElementReferenceException" problem
Currenlty i'm working on a WebDriver framework using Java bindings and i kept facing one problem pretty often - "StaleElementReferenceException". I think this is a big pain in the ass for every UI Automation Engineer who's working with WebDriver. I tried several approaches to fix this problem and…
-
How to capture screenshots on WebDriver failure
Let's say that you have your nice WebDriver project that does some tests already. Now, you're moving this tests to Jenkins, so they would run all the time. But you face another problem - you get some errors, exceptions but it's not always obvious what went wrong and why button…
-
Quick solution to java.lang.NoClassDefFoundError: org/openqa/selenium/HasInputDevices error
In case if you face this problem, one of the possible solutions that will work for you is to make sure that your pom.xml file is up to date and you use right version of webdriver and selenium java bindings. Here's what helped me <dependency> <groupId&…
-
Solution for "Scala compile server java.net.BindException: Address already in use" error
Recently i faced with this "Address already in use " error while studying scala and decided to make a note here for a solution that i've found. It worked for me, so someone else could also use it. Here is a manual solution of a such situation (instruction for…
-
Now i can explain any complex shell command easily
Found this really cool website today in the morning. It's called explainshell.com. It is designed for one simple reason - to explain you any shell command that you enter. In a really nice and beautiful manner. Here's an example :…