Comments (4)
From frankgroeneveld on December 21, 2010 10:52:54
This is probably not Crawljax doing anything wrong but Selenium. You should probably create a simple test case with Selenium and report it to them.
from crawljax.
From [email protected] on December 21, 2010 13:01:33
I have tested it with the simple Selenium Test case with the selenium jars available in Crawljax 2.0 however there I didn't face that issue over there
I have used the following test case
import com.thoughtworks.selenium.SeleneseTestCase;
public class TestSelenium extends SeleneseTestCase {
public void setUp() throws Exception {
setUp("http://www.google.com/", "*iexplore");
}
public void testNew() throws Exception {
selenium.open("/");
selenium.waitForPageToLoad("30000");
selenium.type("q", "selenium rc");
selenium.click("btnG");
selenium.waitForPageToLoad("30000");
selenium.close();
selenium.stop();
}
}
from crawljax.
From [email protected] on December 21, 2010 14:02:27
I have also tested it separtely with WebDriver using the following program however I have not faced any issue over there
import org.openqa.selenium.By;
import org.openqa.selenium.RenderedWebElement;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.ie.InternetExplorerDriver;
public class TestWebDriver {
public static void main(String[] args) throws Exception {
WebDriver driver = new InternetExplorerDriver();
driver.get("http://www.google.com/webhp?complete=1&hl=en");
WebElement query = driver.findElement(By.name("q"));
query.sendKeys("Cheese");
long end = System.currentTimeMillis() + 5000;
while (System.currentTimeMillis() < end) {
RenderedWebElement resultsDiv = (RenderedWebElement) driver
.findElement(By.className("gac_m"));
if (resultsDiv.isDisplayed()) {
break;
}
}
query.submit();
driver.close();
}
}
from crawljax.
Outdated
from crawljax.
Related Issues (20)
- Capturing screenshot with floating navigation bars HOT 1
- Upgrade to Java 11 HOT 3
- Connect loose nodes on the state-flow graph HOT 1
- Investigate using BiDi API for Selenium HOT 1
- Crawl overview failure HOT 2
- Crawljax CLI issue with release 5.0 (not an issue)
- Add support for Jitpack (Java-11) HOT 1
- Generated tests do not compile
- Create integration tests with crawlmaze
- Error creating chrome instance [websocket issue in chromedriver-111]
- Is Crawljax currently using depth-first traversal? If I want to switch to breadth-first traversal, how can I configure it? HOT 1
- Is the same CandidateElementManager instance used on all state?
- populateStyle java.lang.NullPointerException HOT 1
- filterAttributes does not work for multiple attributes
- crawljax wivet encounters an infinite loop situation? HOT 1
- Wivet 9.php
- java.lang.IllegalArgumentException: null type argument at index 1 when executing tests generated by testcasegenerator plugin version 5.2.3
- Is there any way to parse the visible dom of the current page of the spa website written based on frameworks such as angular? HOT 1
- Error: "Unable to initialize main class com.crawljax.cli.JarRunner" during launch of crawljax-cli-5.1.2.jar
- 'mvn install' fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crawljax.