Support > Forums > OpenBots Studio > Create Variable of type "OpenQA.Selenium.IWebElement"
Hi Guys, I am new to Openbots and currently try out some stuff. Therefore I have a couple of questions: e.g. how can I create a variable of type "OpenQA.Selenium.IWebElement" or "System.Collections.Generic.List<OpenQA.Selenium.IWebElement>"?
Thx a lot Manfred
This forum has 317 topics, 687 replies, and was last updated 4 months ago by Nataly Alvarado...
Hi, thx a lot, it worked. In another forum topic, I already learned to install "OpenQA.Selenium.Winium" package but to add "OpenQA.Selenium" to the imports seems to be the solution! Now I can create both variable types. As mentioned - thx a lot. :-) br Manfred
Hi,
As per the root cause analysis. Inorder to use that variable OpenQA.Selenium.IWebElement or �System.Collections.Generic.List<OpenQA.Selenium.IWebElement>� Please follow below steps
Please let me know if it helped.
Hi,
Thankyou for sharing your query. Can you please let me know which selenium command or nuget package you are using to assign this variable and also the version of OpenBots.
If you need to create any new variable of a specific type -> Ctrl+k -> Under define variable type dropdown select -> More options Types window -> Type this in search bar -> System.Collections.Generic.List and select that and to select list of type -> more options and select that type you want to choose.
Thanks. Please let me know if it helped.
You are not authorized to reply, please click here to login and add your reply to this topic.