Today marks my second day delving into the world of selenium. I can't help but wonder if there's a resource out there that lists selenium commands along with their corresponding javascript or java methods.
I'm currently working on creating a jmeter test that involves using a Webdriver sampler to execute it. I stumbled upon some helpful commands on this website. They demonstrated how selenium captured data can be transformed into WebDriver format (as shown in the screenshot below).
This screenshot captures my functioning "script" from selenium.
I attempted to use the sample commands/scripts provided on this site here, and they worked perfectly. However, when trying to implement commands from my own script, I struggled because I couldn't determine the appropriate js/java method to utilize. For instance, I have a "waitforElementPresent" command in my script, but couldn't locate a waitforElementPresent or addSelection method in the API (link available here).
Is there a comprehensive source that outlines which methods align with each selenium command? Am I perhaps overcomplicating things by engaging in these experimental exercises? Any guidance would be greatly appreciated. Thank you in advance.