Skip to content

Commit

Permalink
Login fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Niemczyk committed Mar 27, 2017
1 parent dd7976b commit cbadb81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/github/kejn/packtpub/pages/Page.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public Page login(String username, String password) throws IOException, URISynta
String jQuery = readJQueryFrom("scripts/login.js")
.replace("{{username}}", username)
.replace("{{password}}", password);
executeJs(jQuery);
executeJs(jQuery, new By.ById("account-bar-logged-in"));

LOGGER.info("Logged in as '" + username + "'");

Expand Down

0 comments on commit cbadb81

Please sign in to comment.