rickypc / selenium-page-object-generator

A nimble and flexible Selenium Page Object Model generator to improve agile testing process velocity.
https://chrome.google.com/webstore/detail/epgmnmcjdhapiojbohkkemlfkegmbebb
GNU Affero General Public License v3.0
122 stars 66 forks source link

Default Java class should compile #14

Closed jpvantuyl closed 7 years ago

jpvantuyl commented 7 years ago

I'm missing two import statements in the Java handlebars code.

I get this error when compiling (via Maven):

[ERROR] /c:/path/to/src/main/java/PageObjectModel/SomeFolder/SomeClass.java:[149,56] cannot find symbol
[ERROR] symbol:   class ExpectedCondition
[ERROR] location: class PageObjectModel.SomeFolder.SomeClass
[ERROR] /c:/path/to/src/main/java/PageObjectModel/SomeFolder/SomeClass.java:[149,14] cannot find symbol
[ERROR] symbol:   class WebDriverWait
[ERROR] location: class PageObjectModel.SomeFolder.SomeClass

Adding the two following import statements allows it to compile:

import org.openqa.selenium.support.ui.WebDriverWait;
import org.openqa.selenium.support.ui.ExpectedCondition;
rickypc commented 7 years ago

Released in version 1.2.10. Thanks, @jpvantuyl for your contribution.