Git Product home page Git Product logo

raku-selenium-webdriver's People

Contributors

azawawi avatar froggs avatar samcv avatar vendethiel avatar zoffixznet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

raku-selenium-webdriver's Issues

[Wire] More Perl6ish element finder API

Refactor

$driver.find-element-by-id("username")

into

$driver.element-by-id( 'username' ) 

Please see chat transcript on#perl6

[16:49] <azawawi> my $username-element = $driver.find-element-by-id("username")     # any ideas how to make it more Perl6ish?
[16:50] <[Coke]> azawawi: that line seems fine to me.
[16:51] <PerlJam> azawawi: $driver.find-element("username", :by<id>);  # maybe more 6y along a certain dimension
[16:51] <azawawi> i was also thinking $driver.element( :id('username') )  # more jQuery-like
[16:52] <PerlJam> aye, that one is nice too
[16:52] <azawawi> or .element-by(...) that is
16:53] <nine> .element-by-id would be my choice, since it not only finds the element, it also returns it. And by-id is a bit of a special case, because there may only be one element with a given id.
[16:53] <nine> Other find-* methods have to deal with multiple results.
[16:54] <PerlJam> 1 is just a special case of many  :)
[16:54] <nine> Good rule of thumb: a method should do one and only one thing
[16:54] <azawawi> nine: also auto-completion friendly

No such method 'unzip' for invocant of type 'File::Zip'

When trying to use Selenium::WebDriver::Firefox, the following error occurs:

No such method 'unzip' for invocant of type 'File::Zip'

Seemingly there is another module with the exact same name as the File::Zip you have authored (see here). I think since it is more recently updated than your module, zef favours it when installing dependencies. The other module with the same name has no unzip method; it instead uses extract.

To address this, I was able to install your module directly by using the command:

zef -v install https://github.com/azawawi/perl6-file-zip.git

phantomjs discontinued on MacOS

hi

i got this warning on brew install phantomjs...

phantomjs has been officially discontinued upstream.
It may stop working correctly (or at all) in recent versions of macOS.

Update project ?

Looks like its not working for last chrome, any plans to update this project ?

Chrome web driver fails on windows

D:> perl6 chrome.t
1..5
Starting ChromeDriver 2.19.346078 (6f1f0cde889532d48ce8242342d0b84f94b114a1) on port 49329
Only local connections are allowed.
not ok 1 - Google in title

# Failed test 'Google in title'
# at chrome.t line 16
not ok 2 - google.com in url

# Failed test 'google.com in url'
# at chrome.t line 17
# WebDriver cleanup
Type check failed in assignment to $!id; expected Str but got Any  in method throw at C:\rakudo/share/perl6/runtime/CORE.setting.moarvm:1  in method _element at C:\rakudo\share\perl6\site\lib\Selenium\WebDriver\Wire.pm6:385
  in method element-by-name at C:\rakudo\share\perl6\site\lib\Selenium\WebDriver\Wire.pm6:411
  in block <unit> at chrome.t:20

# Looks like you planned 5 tests, but ran 2
# Looks like you failed 2 tests of 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.