Setup Menus in Admin Panel

JavaScript error:, line 14: ReferenceError: google is not defined | Selenium Automation | Discussions |

Forum usage guidelines

  1. Search First.: If you don’t find a similar post, start a new topic. If you find a similar thread and still have a question, reply to that topic. Duplicate threads will be ignored/deleted without warning.
  2. Proper Subject: Ensure you choose a very appropriate topic name. Else it will be tough to get support from other members.
  3. Patience, please: Our Tech team or other members will usually try to respond within 24 hours on weekdays and max within 48 hours on weekends. Sometimes sooner.
  4. Share opinions: Please feel free to reply, add or comment on any ongoing topics. Collective learning will be of great benefit to all.

ITeLearn reviews from participants.

Please consider registering

Log In

Lost password?
Advanced Search

— Forum Scope —


— Match —


— Forum Options —


Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
JavaScript error:, line 14: ReferenceError: google is not defined
February 24, 2017
12:28 pm
Kavita Kothule
Forum Posts: 6
Member Since:
January 31, 2017

I wrote the following code:
driver.findElement(By.linkText(“CONTACT US”)).click();

and got following error on fireFox browser:
JavaScript error:, line 14: ReferenceError: google is not defined

and got following error on chrome browser:
Exception in thread “main” org.openqa.selenium.WebDriverException: unknown error: Element is not clickable at point

The above code was only successful with chrome browser if there was already an instance of chrome or Firefox browser open from previous execution that was not closed. Rest of the links on the home page do not work either.
Please can you help me and let me know what the problem might be.

March 8, 2017
8:28 pm
Forum Posts: 1940
Member Since:
October 26, 2012

Kavita, where do you instantiate webdriver?

March 10, 2017
2:30 pm
Kavita Kothule
Forum Posts: 6
Member Since:
January 31, 2017

public class WebdriverAtomic77{
static {
System.setProperty(“”, “/Users/kavita/selenium/chromedriver/chromedriver”);
System.setProperty(“webdriver.gecko.driver”, “/Users/kavita/selenium/geckodriver/geckodriver”);

public static void main(String[] args)throws InterruptedException{
WebDriver driver = new FirefoxDriver();
//driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);
WebElement contactLink = driver.findElement(By.linkText(“CONTACT US”));

This is how the code was. I think it is an error due to synchronization problem. The problem was solved by using Thread.sleep but not by using implicit or explicit timeout.

Forum Timezone: UTC -8

Most Users Ever Online: 70

Currently Online:
6 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Techhelp: 1940

Manu: 114

Shan Nathan: 80

Palanki sai charan: 67

Userone: 59

Vishal Anand: 53

Archana Sapre: 51

Geetha Reddy: 44

useL: 38

Kavya Vangala: 37

Member Stats:

Guest Posters: 19

Members: 8066

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 22

Topics: 2124

Posts: 5829

Newest Members: Enterprise HoldingsInc, Devasish kar, Anupama Sood, Thrilok Thrilok, HARISH PUTTA, Immanuel Michealraj, Sarvani Uppati, vikas shinde, Jignesh Patel, Swathi Swathi

Administrators: Karthik eLearn (Admin): 49

0 Responses on Discussions"

Main Menu