mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 15:20:32 -04:00
Enable some additional PHPStan rules and fix some type issues
This commit is contained in:
parent
c9e5026cf4
commit
a019d5e87c
8 changed files with 21 additions and 18 deletions
|
@ -91,7 +91,7 @@ try{
|
|||
// Check if we need to log in to FA.
|
||||
// Wait until the <body> element is visible, then check the current URL.
|
||||
$driver->wait(20, 250)->until(WebDriverExpectedCondition::visibilityOfElementLocated(WebDriverBy::xpath('/html/body')));
|
||||
if(stripos($driver->getCurrentUrl(), 'auth0.com')){
|
||||
if(stripos($driver->getCurrentURL(), 'auth0.com')){
|
||||
$log->Write('Logging in to Fractured Atlas ...');
|
||||
|
||||
// We were redirected to the login page, so try to log in.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue