Inject JavaScript Step!

Problem:

How to get alert value from Inject JavaScript Step.

How to use Inject JavaScript Step.


Solution:

Here, we extracted src property from img tag using CSS Selector.


Where, path contains dynamic CSS Selector for each image, created according to the logic required.

After this use Web Composite Step to Accept Alert and Get Value.

Value from Alert stored in new output field, here pathsrc.

Enjoy the automation with ☞ AutomationEdge!!