Switching Frames in eggplant Using Selenium WebDriver

Hi, I am trying to switch to a specific frame in eggplant functional using selenium. What i’m trying to do is:
SwitchToFrame (WebXPath: “//iframe[@id=‘abc’]”)
Click (WebXPath: “Element Within Frame”)

However, the when the first line is executed I am getting an error as: WebDriverError Error switching to frame: unknown error: call function result missing 'value’

Can anyone please tell me how to switch between the frames through eggplant?

@eggtester @EggplantMatt Can you please help?

Hi Akash. I think you need to use the result of FindElement() as the argument, not just the XPath:

SwitchToFrame (FindElement (WebXPath: “//iframe[@id=‘abc’]”))