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

Fix of deprecated method