How to switch to iframe and perform some actions
#general #element #iframe Hi, I am new to element scripting. I am writing a typescript where I there is an element I want to select inside the iFrame. can some one please help me on how to switch to iFrame, select an element and then switch back to dropdown. And finally how to…
How to add Import statements?
Hi, I'm very much a beginner - I have a new directory in my C: drive named 'floodstarter' and created a new project from command line, with default name. My imports are not recognised in the .ts file though and I cannot see how to find them (using VS code). Snippet below: import…
Error when using the "--export" switch.
I have created my script and am running locally. I wanted to use the --export switch. However, when I do, the test completes, but then an error happens: at processImmediate (node:internal/timers:464:21) AssertionError [ERR_ASSERTION]: Trying to copy from a source that does not…
I'm trying to run a scenario that is using 2 tabs simultaneously. As I understand from the documentation, by invoking the browser.waitForNewPage() I should be able to create a new tab. When running locally ( element run my-element-project.perf.ts ) the line await…
Working with iframes - Element 2.0.4
I have installed 2.0.4 and dealing with iframes where I need to click on the particular element on the iframe which will open another text box where I need to enter my value. When I try to click on the element using “await page.frame.click” – am getting an error message…