diff --git a/behat.varbase.yml b/behat.varbase.yml
index b9e7fb6e2bc6907fb99301761335848d1d1c7fa3..5e209ae43e2a0cbd53decc8bbaa0445b8147f268 100644
--- a/behat.varbase.yml
+++ b/behat.varbase.yml
@@ -66,6 +66,9 @@ default:
           version: "*"
           extra_capabilities:
             chromeOptions:
+              args:
+                - "--disable-gpu"
+                - "--window-size=1920,1080"
               w3c: false
           chrome:
             switches:
@@ -81,6 +84,8 @@ default:
               - "--disable-extensions"
               - "incognito"
               - "enable-precise-memory-info"
+              - "ignore-certificate-errors"
+              - "disable-infobars"
               - "js-flags=--expose-gc"
               - "no-sandbox"
       base_url: 'http://127.0.0.1:8080'
diff --git a/tests/features/bootstrap/VarbaseContext.php b/tests/features/bootstrap/VarbaseContext.php
index 9a06385824d2fbb3223cc04db19f6fb8fe0565c9..160a74f43c6fc7dc5a6ada9f507d52ab96391a69 100644
--- a/tests/features/bootstrap/VarbaseContext.php
+++ b/tests/features/bootstrap/VarbaseContext.php
@@ -86,6 +86,7 @@ class VarbaseContext extends RawDrupalContext implements SnippetAcceptingContext
 
       $element = $this->getSession()->getPage();
       $this->getSession()->visit($this->locatePath('/user'));
+			sleep(2);
       $element->fillField('edit-name', $username);
       $element->fillField('edit-pass', $password);
       $submit = $element->findButton('op');
@@ -114,6 +115,7 @@ class VarbaseContext extends RawDrupalContext implements SnippetAcceptingContext
     // Login with the.
     $element = $this->getSession()->getPage();
     $this->getSession()->visit($this->locatePath('/user'));
+		sleep(2);
     $element->fillField('edit-name', $username);
     $element->fillField('edit-pass', $password);
     $submit = $element->findButton('op');