Update src/main/java/com/skoleni/web/BasePage.java

Fix of deprecated method
Merge pull request #3 from smarek/patch-3

Update src/main/java/com/skoleni/web/BasePage.java