Giter VIP home page Giter VIP logo

github_selenium's Introduction

GitHub Selenium

Helper for 2FA login to GitHub

  • Free software: MPL v2 license

Features

Allows for automated browser login to GitHub accounts requiring 2FA, and provides a Selenium web driver instance for further work. Uses a headless Firefox instance driven by geckodriver.

Prerequites

Outside of the dependencies which will be installed when you pip install this package, you need:

  • Python (3 prefered, should work with 2)
  • Firefox
  • Latest geckodriver

Development dependencies are managed via pipenv. Use pipenv install --dev to build your virtual environment and install development dependencies.

  • TODO

This works just enough to be useful on a couple of scripts. YMMV.

  • more docs!
  • lots! PR's & Issues welcome

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

github_selenium's People

Contributors

hwine avatar mozilla-github-standards avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

github_selenium's Issues

Wiki changes

FYI: The following changes were made to this repository's wiki:

These were made as the result of a recent automated defacement of publically writeable wikis.

MoveTargetOutOfBoundsException

MoveTargetOutOfBoundsException is occurring in more recent times when used in Drag and drop scenario. This exception started to observed first with vertical movement and slowly with horizontal drag and drop actions too. Wanted someone to look into.
Error description:- MoveTargetOutOfBoundsException: Message: (1428, 545) is out of bounds of viewport width (1152) and height (847).
Also checked to make sure browser window is maximized, Firefox version 69.0, OS tested on : Mac OS 10.14.5 and Linux.

MoveTargetOutOfBoundsException

MoveTargetOutOfBoundsException is occurring in more recent times when used in Drag and drop scenario. This exception started to observed first with vertical movement and slowly with horizontal drag and drop actions too. Wanted someone to look into.
Error description:- MoveTargetOutOfBoundsException: Message: (1428, 545) is out of bounds of viewport width (1152) and height (847).
Also checked to make sure browser window is maximized, Firefox version 69.0, OS tested on : Mac OS 10.14.5 and Linux.
This was absolutely working fine without issue. No upgrades have been done to the environment.

To Reproduce

Open firefox latest version on Linux or Mac OSX( tested on 10.14.x) version
Open AUT, browser maximized
Using RFSelenium library trying to move an element horizontally or vertically with keyword Dragdrop by offset $locator xoffset yoffset
Get MoveTargetOutOfBoundsException with outbounds viewport width xxx and height xxx
Behaviour is see: Error i see:MoveTargetOutOfBoundsException: Message: (1428, 545) is out of bounds of viewport width (1152) and height (847)

Environment
Mac OSX 10.14.x, Linux CentOS 7.6.1810 AWS EC2
Env: Robot Framework 3.1.2 ,Python 3.7.1 on linux,Selenium 3.14.0,

CODE_OF_CONDUCT.md file missing

As of January 1 2019, Mozilla requires that all GitHub projects include this CODE_OF_CONDUCT.md file in the project root. The file has two parts:

  1. Required Text - All text under the headings Community Participation Guidelines and How to Report, are required, and should not be altered.
  2. Optional Text - The Project Specific Etiquette heading provides a space to speak more specifically about ways people can work effectively and inclusively together. Some examples of those can be found on the Firefox Debugger project, and Common Voice. (The optional part is commented out in the raw template file, and will not be visible until you modify and uncomment that part.)

If you have any questions about this file, or Code of Conduct policies and procedures, please see Mozilla-GitHub-Standards or email [email protected].

(Message COC001)

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.