Questions tagged [leadfoot]

Leadfoot is a JavaScript client library that brings cross-platform consistency to the Selenium WebDriver API.

Leadfoot is also the only WebDriver client library that includes an exhaustive unit test suite that verifies that results are consistently returned from all remote drivers. Through this test suite we have discovered and reported over 15 defects to upstream WebDriver server implementers.

leadfoot

73 questions
1
vote
1 answer

How to get page source data from div HTML tag?

Is there a method in Intern/Leadfoot to get source content or at least a raw text from
HTML tag? I looked for it in the following reference but without success. https://theintern.github.io/leadfoot/module-leadfoot_Command.html Below you can…
srgbnd
  • 5,404
  • 9
  • 44
  • 80
1
vote
1 answer

Failed to load module an installed module in Intern/Leadfoot

Meta - OS: Ubuntu 14. Selenium Version: 2.53 Browser: Chrome. Browser Version: 51.0.2704.103 (64-bit) Expected Behavior - The selenium-driver is imported. Actual Behavior - The selenium-driver is not imported. Got following…
srgbnd
  • 5,404
  • 9
  • 44
  • 80
1
vote
1 answer

Chain operations after several elements have been retrieved

For testing we have to fill a complex page using intern/leadfoot. Each part of the page is taken care off by a separate function which receives the necessary elements and input data. Now we have the problem, that actions on these elements in the…
Kiechlus
  • 1,167
  • 12
  • 21
1
vote
0 answers

Entering text in reactjs input fields with intern leadfoot

I'm testing a reactjs app and the type() and pressKeys() commands are not working correctly. type('string') isn't entering text into the input field and pressKeys('string') is only entering 's'. I'm not sure if this is an issue with leadfoot and…
user3047479
  • 167
  • 2
  • 13
1
vote
1 answer

Using variable in Intern functional test

I need to use a variable whose value is determined based on the css style pixel. The test find the value of left pixel and then select a particular cell. But when i run this test the value is always 0 instead of what it actually should be. 'Test'…
8785krs
  • 101
  • 1
  • 1
  • 9
1
vote
1 answer

Intern reporting and error handling

I started reading about automated testing of web apps a couple of days ago, and after a lot of trial and error (and tutorial) finally somehow managed to run couple of Intern functional tests both locally and on BrowserStack but one thing that I…
Slavenko Miljic
  • 3,836
  • 2
  • 23
  • 36
1
vote
2 answers

How do I clear input field in Intern JS?

I have written a small piece of code for inline editing table fields. When the user clicks, the element is removed and on its place an input field is created. After modification is done the input field is removed and a span element with the new…
KiaMorot
  • 1,668
  • 11
  • 22
1
vote
1 answer

How to proceed AFTER switching frames in InternJS

Can someone tell me how to proceed with referencing an element within an iframe after the switching of frames is done? I've already looked at the solution presented in How to switch iframes InternJS to no avail, and the information in intern…
MBielski
  • 6,628
  • 3
  • 32
  • 43
1
vote
2 answers

Hide password in functional tests using the Intern / LeadFoot / Selenium

I am using the Intern for my functional tests. One such test requires being logged into an admin account: registerSuite({ name: 'login', 'login': function() { return this.remote .get(URL) …
jperezov
  • 3,041
  • 1
  • 20
  • 36
1
vote
1 answer

Intern JS CSS Selector use Variable

Hey Guys i need help with my functional test, i want to be able to use variable in the findCssSeclector.I use a array called Persona, it should read out the countrycode put in the variable and than in the intern function. But it doesnt work, has…
1
vote
0 answers

The Intern: Preferred method of accessing Capabilities of the current session?

I'm writing an Intern Functional test suite, and I'd like to scan my environment for features in order to skip tests that aren't relevant to the environment. For example, I never want to run tests that involve touch interactions in browsers that…
Edward Coyle Jr.
  • 437
  • 2
  • 13
1
vote
1 answer

How to switch iframes InternJS

I need to switch to an iframe that has a dynamic name and id. I noticed LeadFoot has a switchToFrame() function, but when I pass it an element that was returned from…
mziemer
  • 338
  • 3
  • 13
1
vote
1 answer

Intern's pollUntil does not work with Chrome

I have a custom crawler that redirects to all pages in an application and takes screenshot. The page load works perfectly fine in Firefox. However in Chrome, the page does not load properly and as a result most of the screenshots come as blank.…
user2325313
  • 99
  • 2
  • 13
1
vote
0 answers

How to hide iOS Keyboard with Leadfoot / Appium / Webdriver?

Does anyone know how to hide the iOS keyboard on Appium (latest: v1.4.1) using Leadfoot / Intern? I'd hoped that: .deactivateIme() ...would dismiss the keyboard but I get Starting tunnel... Initialised iOS on MAC 8.1 Test main - Suite Name - Login…
steveharman
  • 125
  • 1
  • 10
1
vote
1 answer

Leadfoot session object returns promises

I am attempting to use the leadfoot module for functional testing with the intern and selenium. For this test, I'm trying to click a button in one place, then check the display property of a element elsewhere on the page. I couldn't find a way to…