Strlen error on setValue when element is empty.
The existing code is delete the existing value before setting the new one, but the code is assuming there is a value by using the strlen function which causes the following error if the element is empty:
strlen(): Passing null to parameter #1 ($string) of type string is deprecated in .../vendor/dmore/chrome-mink-driver/src/ChromeDriver.php line 741
We need to add validation before that code.