Skip to content

CosmoCode (Formerly TeachMeSelenium)

DevOps tutorials | Test Automation tutorials

CosmoCode (Formerly TeachMeSelenium)

MENUMENU
  • Home
  • Selenium Tutorials
    • 0. Beginners, start here
    • 1. System Setup
      • Installing programming language dependencies
      • Installing Selenium dependencies
    • 2. First selenium script
      • Create a new project and include dependencies
      • Writing and running code
    • 3. Identifying elements in the page
      • Inspect attributes like id, class, name etc of an element
      • Introduction to XPath locators
      • XPath functions
      • CSS Selectors
    • 4. Interacting with the Elements in the page
      • Locating element by using findElement
      • Performing actions like click, type, select etc
      • Getting the list of elements and Child Element
    • 5. Waits
      • Implicit Wait
      • Explicit wait
    • 6. Handling Alert dialog, Popup windows and Frames
      • Handling Alert dialog
      • Handling Popup windows
    • 7. Interacting with the Browser
      • Running test on different browsers
      • Taking the screenshot of the page
      • Executing JavaScript through JavascriptExecutor
    • 8. Advanced User Interactions
      • Introducing Actions and moving the mouse over an element
      • Performing drag and drop operations
      • Automating Keyboard press events
    • 9. Selenium Grid
      • Introduction to Selenium Grid & Setting up hub and nodes
      • RemoteWebDriver and DesiredCapabilities
      • Running tests on SauceLabs' cloud machines
    • 10. Selenium Pro Tips
      • How to connect Selenium to an existing browser that was opened manually?
      • How to disable insecure password warning in Firefox for Selenium?
      • WebDriver Exceptions
      • How to interact with shadow DOM in Selenium?
    • > Click here to watch Video Tutorials
    • > TestNG - a testing framework
      • TestNG | Introduction & Setup
  • JavaScript Tutorials
    • Object-oriented programming in JavaScript
      • Introduction to Object Oriented Programming | JavaScript & Object Oriented Programming | Part 1
      • Setting up environment | JavaScript & Object Oriented Programming | Part 2
      • Object Literals | JavaScript & Object Oriented Programming | Part 3
      • Deep dive into Object Literals | JavaScript & Object Oriented Programming | Part 4
      • Factory Functions | JavaScript & Object Oriented Programming | Part 5
      • Constructor Functions | JavaScript & Object Oriented Programming | Part 6
      • Built-in Constructor Functions in JavaScript | JavaScript & Object Oriented Programming | Part 7
      • How to implement Abstraction in JavaScript | JavaScript & Object Oriented Programming | Part 8
      • Adding, removing and iterating Object Properties | JavaScript & Object Oriented Programming | Part 9
      • Getters and Setters in JavaScript | JavaScript & Object Oriented Programming | Part 10
      • Prototypes in JavaScript | JavaScript & Object Oriented Programming | Part 11
    • Understanding var, let and const in JavaScript
  • More
    • Automation Practice | Beginner
    • Automation Practice | First Selenium Script
    • Automation Practice | Handling Waits
    • Automation Practice | WebTable
  • About Us
MENUMENU
  • Home
  • Selenium Tutorials
    • 0. Beginners, start here
    • 1. System Setup
      • Installing programming language dependencies
      • Installing Selenium dependencies
    • 2. First selenium script
      • Create a new project and include dependencies
      • Writing and running code
    • 3. Identifying elements in the page
      • Inspect attributes like id, class, name etc of an element
      • Introduction to XPath locators
      • XPath functions
      • CSS Selectors
    • 4. Interacting with the Elements in the page
      • Locating element by using findElement
      • Performing actions like click, type, select etc
      • Getting the list of elements and Child Element
    • 5. Waits
      • Implicit Wait
      • Explicit wait
    • 6. Handling Alert dialog, Popup windows and Frames
      • Handling Alert dialog
      • Handling Popup windows
    • 7. Interacting with the Browser
      • Running test on different browsers
      • Taking the screenshot of the page
      • Executing JavaScript through JavascriptExecutor
    • 8. Advanced User Interactions
      • Introducing Actions and moving the mouse over an element
      • Performing drag and drop operations
      • Automating Keyboard press events
    • 9. Selenium Grid
      • Introduction to Selenium Grid & Setting up hub and nodes
      • RemoteWebDriver and DesiredCapabilities
      • Running tests on SauceLabs' cloud machines
    • 10. Selenium Pro Tips
      • How to connect Selenium to an existing browser that was opened manually?
      • How to disable insecure password warning in Firefox for Selenium?
      • WebDriver Exceptions
      • How to interact with shadow DOM in Selenium?
    • > Click here to watch Video Tutorials
    • > TestNG - a testing framework
      • TestNG | Introduction & Setup
  • JavaScript Tutorials
    • Object-oriented programming in JavaScript
      • Introduction to Object Oriented Programming | JavaScript & Object Oriented Programming | Part 1
      • Setting up environment | JavaScript & Object Oriented Programming | Part 2
      • Object Literals | JavaScript & Object Oriented Programming | Part 3
      • Deep dive into Object Literals | JavaScript & Object Oriented Programming | Part 4
      • Factory Functions | JavaScript & Object Oriented Programming | Part 5
      • Constructor Functions | JavaScript & Object Oriented Programming | Part 6
      • Built-in Constructor Functions in JavaScript | JavaScript & Object Oriented Programming | Part 7
      • How to implement Abstraction in JavaScript | JavaScript & Object Oriented Programming | Part 8
      • Adding, removing and iterating Object Properties | JavaScript & Object Oriented Programming | Part 9
      • Getters and Setters in JavaScript | JavaScript & Object Oriented Programming | Part 10
      • Prototypes in JavaScript | JavaScript & Object Oriented Programming | Part 11
    • Understanding var, let and const in JavaScript
  • More
    • Automation Practice | Beginner
    • Automation Practice | First Selenium Script
    • Automation Practice | Handling Waits
    • Automation Practice | WebTable
  • About Us

System Setup

System Setup | Installing Selenium dependencies

In the Previous Tutorial, we started setting up our system for Selenium. In this tutorial, we will install other selenium dependencies. It would be convenient for you if you save all selenium dependencies at a single place. For this tutorial, we are assuming you have created a new folder ‘teachmeselenium‘ (directly under your home directory ‘~/’ …

Read moreSystem Setup | Installing Selenium dependencies

System Setup | Installing programming language dependencies

If you are a beginner I would strongly suggest you start your Selenium journey here Beginners, start here. Selenium supports various programming languages like Java, Python, C#, Perl, Ruby, etc. Java & Python are one of the most widely used languages for Selenium. Let us start with some installations Let us now setup eclipse in our system. …

Read moreSystem Setup | Installing programming language dependencies

© 2023 CosmoCode (Formerly TeachMeSelenium) • Built with GeneratePress
  • Home
  • Selenium Tutorials
    • 0. Beginners, start here
    • 1. System Setup
      • Installing programming language dependencies
      • Installing Selenium dependencies
    • 2. First selenium script
      • Create a new project and include dependencies
      • Writing and running code
    • 3. Identifying elements in the page
      • Inspect attributes like id, class, name etc of an element
      • Introduction to XPath locators
      • XPath functions
      • CSS Selectors
    • 4. Interacting with the Elements in the page
      • Locating element by using findElement
      • Performing actions like click, type, select etc
      • Getting the list of elements and Child Element
    • 5. Waits
      • Implicit Wait
      • Explicit wait
    • 6. Handling Alert dialog, Popup windows and Frames
      • Handling Alert dialog
      • Handling Popup windows
    • 7. Interacting with the Browser
      • Running test on different browsers
      • Taking the screenshot of the page
      • Executing JavaScript through JavascriptExecutor
    • 8. Advanced User Interactions
      • Introducing Actions and moving the mouse over an element
      • Performing drag and drop operations
      • Automating Keyboard press events
    • 9. Selenium Grid
      • Introduction to Selenium Grid & Setting up hub and nodes
      • RemoteWebDriver and DesiredCapabilities
      • Running tests on SauceLabs’ cloud machines
    • 10. Selenium Pro Tips
      • How to connect Selenium to an existing browser that was opened manually?
      • How to disable insecure password warning in Firefox for Selenium?
      • WebDriver Exceptions
      • How to interact with shadow DOM in Selenium?
    • > Click here to watch Video Tutorials
    • > TestNG – a testing framework
      • TestNG | Introduction & Setup
  • JavaScript Tutorials
    • Object-oriented programming in JavaScript
      • Introduction to Object Oriented Programming | JavaScript & Object Oriented Programming | Part 1
      • Setting up environment | JavaScript & Object Oriented Programming | Part 2
      • Object Literals | JavaScript & Object Oriented Programming | Part 3
      • Deep dive into Object Literals | JavaScript & Object Oriented Programming | Part 4
      • Factory Functions | JavaScript & Object Oriented Programming | Part 5
      • Constructor Functions | JavaScript & Object Oriented Programming | Part 6
      • Built-in Constructor Functions in JavaScript | JavaScript & Object Oriented Programming | Part 7
      • How to implement Abstraction in JavaScript | JavaScript & Object Oriented Programming | Part 8
      • Adding, removing and iterating Object Properties | JavaScript & Object Oriented Programming | Part 9
      • Getters and Setters in JavaScript | JavaScript & Object Oriented Programming | Part 10
      • Prototypes in JavaScript | JavaScript & Object Oriented Programming | Part 11
    • Understanding var, let and const in JavaScript
  • More
    • Automation Practice | Beginner
    • Automation Practice | First Selenium Script
    • Automation Practice | Handling Waits
    • Automation Practice | WebTable
  • About Us