You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Lib/Interfaces/Web.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -661,8 +661,8 @@ public function grabTextFrom($cssOrXPathOrRegex): mixed;
661
661
publicfunctiongrabValueFrom($field): mixed;
662
662
663
663
/**
664
-
* Grabs the value of the given attribute value from the given element.
665
-
* Fails if element is not found.
664
+
* Returns the value of the given attribute value from the given HTML element. For some attributes, the string `true` is returned instead of their literal value (e.g. `disabled="disabled"` or `required="required"`).
665
+
* Fails if the element is not found. Returns `null` if the attribute is not present on the element.
0 commit comments