Browse Source

Fix optional in ForceText Method

bernhardbuhl 3 years ago
parent
commit
36895c48f9
1 changed files with 2 additions and 1 deletions
  1. 2 1
      baangt/base/BrowserHandling/BrowserHandling.py

+ 2 - 1
baangt/base/BrowserHandling/BrowserHandling.py

@@ -511,7 +511,8 @@ class BrowserDriver:
 
         """
 
-        self.element, self.html = self.findBy(id=id, css=css, xpath=xpath, class_name=class_name, iframe=iframe, timeout=timeout)
+        self.element, self.html = self.findBy(id=id, css=css, xpath=xpath, class_name=class_name, iframe=iframe,
+                                              timeout=timeout, optional=optional)
 
         if not self.element:
             return False