Convert Selenium Object to String? 07-02-2019, 07:18 PM
#1
Basically I have a variable element , which is a selenium element. More specifically an element_id from the spotify page.
I want to compare this to another variable / string , in an if statement. But obviously I get the error (cannot convert type selenium object to string). Any work around? None of the solutions found on stackexchange worked for me. Let me know if you need more detail , I'm using C# and selenium.
Many thanks.
I want to compare this to another variable / string , in an if statement. But obviously I get the error (cannot convert type selenium object to string). Any work around? None of the solutions found on stackexchange worked for me. Let me know if you need more detail , I'm using C# and selenium.
Many thanks.
Discord : Whiteey#3760
Justeat vouchers sold! Msg me!