Skip to content
This repository has been archived by the owner on Dec 30, 2019. It is now read-only.

Testing html code with mocha wd #2

Open
ayxos opened this issue Aug 17, 2017 · 0 comments
Open

Testing html code with mocha wd #2

ayxos opened this issue Aug 17, 2017 · 0 comments

Comments

@ayxos
Copy link

ayxos commented Aug 17, 2017

I need to test HTML code from mobile android/safari browser but i do not know how to do that.

  driver
      .get("http://localhost:8000/rm.html")
      .waitForElementByTagName('a', 2000)
       .source()
       .should.eventually.include('a')
      // .click()
      // .switchTab()
      .eval("document.getElementById('smaatoad')")
        .should.eventually.include('a')

I do not know how to do it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant