Closed AlanGould closed 4 years ago
Update - I just reverted to naming the Instance Name "default" given the "If Web Element Exists" seemed to ignore the specified Instance Name. Here's a log snippet:
Create Chrome Browser - [Instance Name: 'default', Instance Tracking: Keep Instance Alive]
The outcome was that the "If Web Element Exists" worked as expected, without error. Thus, the issue is with the "If Web Element Exists" incorrectly referencing the "Selenium Instance Name" in the Additional Parameters.
@AlanGould Thanks for reporting this. I have confirmed the behavior described -- custom instance names are not handled properly specifically by the If Command.
The fix will be reflected in the next pull request and release.
Hi, great job with taskt!
I am running into an error with executing a "Begin If" command:
Also, I did find a previous issue regarding "If Web Element Exists" - initially I was using a variable ("instance_name" set to "[DateTime.Now]") for the Selenium Instance Name, so I tried removing the variable and just using the plain string, but the error still occurs.