On this page, you will find more information about the most common causes and most relevant solutions for the Selenium error 'InvalidArgumentException'. Do you need help straight away? Visit our support page.
The Selenium documentation indicates that error code 'InvalidArgumentException' is caused by the following problem: "This Selenium exception is thrown if an argument does not belong to the expected type.".
Do you think there is another cause for this error? Let others know in the comments.