selenium.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 19 Dec 2018 09:42:44 +0200
changeset 2306 5892d69ad3ed
parent 2228 837f1337c59b
permissions -rw-r--r--
Pointing to VirtualBox location.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1509
486472c4ba6a Selenium official docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     1
.. -*- coding: utf-8; -*-
486472c4ba6a Selenium official docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     2
486472c4ba6a Selenium official docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     3
===========
486472c4ba6a Selenium official docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     4
 Selenium.
486472c4ba6a Selenium official docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     5
===========
1525
1bd0bcaec05f Fix RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1511
diff changeset
     6
.. contents::
1905
fba288d59662 Include only local subsections into TOC. This prevent duplication of
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1555
diff changeset
     7
   :local:
1509
486472c4ba6a Selenium official docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     8
486472c4ba6a Selenium official docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     9
Official docs.
486472c4ba6a Selenium official docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    10
==============
486472c4ba6a Selenium official docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    11
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    12
http://docs.seleniumhq.org/docs/
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    13
  TOC.
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    14
http://docs.seleniumhq.org/docs/03_webdriver.jsp
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    15
  WebDriver
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    16
https://code.google.com/p/selenium/w/list
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    17
  Docs on Wiki about drivers and browser support.
1554
7eadf0928d57 Set language preferences.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1550
diff changeset
    18
7eadf0928d57 Set language preferences.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1550
diff changeset
    19
WebDriver.
7eadf0928d57 Set language preferences.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1550
diff changeset
    20
----------
7eadf0928d57 Set language preferences.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1550
diff changeset
    21
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    22
* http://code.google.com/p/selenium/wiki/FirefoxDriver
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    23
* http://code.google.com/p/selenium/wiki/InternetExplorerDriver
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    24
* http://code.google.com/p/selenium/wiki/ChromeDriver
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    25
* http://selendroid.io/mobileWeb.html - Android.
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    26
* http://code.google.com/p/selenium/wiki/OperaDriver
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    27
* http://htmlunit.sourceforge.net/ - HtmlUnit.
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    28
* http://code.google.com/p/selenium/wiki/HtmlUnitDriver
1509
486472c4ba6a Selenium official docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    29
1550
6589f81b9c88 Russian translation of official docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1525
diff changeset
    30
Tutorials.
6589f81b9c88 Russian translation of official docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1525
diff changeset
    31
==========
6589f81b9c88 Russian translation of official docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1525
diff changeset
    32
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    33
http://selenium2.ru/docs.html
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    34
  Russian translation of official docs.
1550
6589f81b9c88 Russian translation of official docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1525
diff changeset
    35
1510
c03c377f509b com.thoughtworks.selenium.Selenium locator syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1509
diff changeset
    36
com.thoughtworks.selenium.Selenium locator syntax.
c03c377f509b com.thoughtworks.selenium.Selenium locator syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1509
diff changeset
    37
==================================================
c03c377f509b com.thoughtworks.selenium.Selenium locator syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1509
diff changeset
    38
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    39
* http://release.seleniumhq.org/selenium-remote-control/0.9.2/doc/java/com/thoughtworks/selenium/Selenium.html
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    40
* http://selenium-training.israelekpo.com/targeting-elements.txt
1510
c03c377f509b com.thoughtworks.selenium.Selenium locator syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1509
diff changeset
    41
1509
486472c4ba6a Selenium official docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    42
Hi-level wrappers.
486472c4ba6a Selenium official docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    43
==================
486472c4ba6a Selenium official docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    44
486472c4ba6a Selenium official docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    45
Selenide.
486472c4ba6a Selenium official docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    46
---------
486472c4ba6a Selenium official docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    47
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    48
https://github.com/codeborne/selenide/wiki/Selenide-vs-Selenium
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    49
  git repo
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    50
http://ru.selenide.org/quick-start.html
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    51
  russian home page
1509
486472c4ba6a Selenium official docs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    52
1511
c48567a6c6f9 Graphene
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1510
diff changeset
    53
Graphene 2.
c48567a6c6f9 Graphene
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1510
diff changeset
    54
-----------
c48567a6c6f9 Graphene
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1510
diff changeset
    55
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    56
https://docs.jboss.org/author/display/ARQGRA2/Home
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    57
  home page
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    58
https://community.jboss.org/wiki/ArquillianGraphene2
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    59
  wiki page
1554
7eadf0928d57 Set language preferences.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1550
diff changeset
    60
7eadf0928d57 Set language preferences.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1550
diff changeset
    61
Set language preferences.
7eadf0928d57 Set language preferences.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1550
diff changeset
    62
=========================
7eadf0928d57 Set language preferences.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1550
diff changeset
    63
7eadf0928d57 Set language preferences.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1550
diff changeset
    64
For FirefoxDriver::
7eadf0928d57 Set language preferences.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1550
diff changeset
    65
7eadf0928d57 Set language preferences.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1550
diff changeset
    66
  FirefoxProfile profile = new FirefoxProfile();
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    67
  profile.setPreference( "intl.accept_languages", "no,en-us,en" );
1554
7eadf0928d57 Set language preferences.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1550
diff changeset
    68
  WebDriver driver = new FirefoxDriver(profile);
7eadf0928d57 Set language preferences.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1550
diff changeset
    69
7eadf0928d57 Set language preferences.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1550
diff changeset
    70
See:
7eadf0928d57 Set language preferences.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1550
diff changeset
    71
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    72
* http://code.google.com/p/selenium/wiki/TipsAndTricks
1554
7eadf0928d57 Set language preferences.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1550
diff changeset
    73