Gayathri
Gayathri

Reputation: 11

Why im not able to use executeScript in my selenium script?

import org.openqa.selenium.*; import org.openqa.selenium.JavascriptExecutor.executeScript;

Upvotes: 0

Views: 694

Answers (1)

Lia
Lia

Reputation: 526

You don't need executeScript in your import:

import org.openqa.selenium.JavascriptExecutor;

Upvotes: 1

Related Questions