After so much time wasted on setting up a working environment with Kubernetes and selenium on a macOS BigSur using Minikube, decided to write this blog to make it easier for whoever wants to set it up next.
HTTP status codes are response codes that are returned by web servers along with responses indicating whether a request sent by the client was processed successfully or not.
There are five classes of HTTP status codes available.
1xx: Informational - Request received, continuing process
2xx: Success - The action was successfully received, understood, and accepted3xx: Redirection - Further action must be taken in order to complete the request4xx: Client Error - The request contains bad syntax or cannot be fulfilled5xx: Server Error - The server failed to fulfill an apparently valid request
The client SHOULD continue with…
We learned how to set up Appium in the last Blog, in this one we will write our first test using Appium for Android and later for an iOS device in the upcoming blog.
Below is Appium Architecture
IntelliJ Idea ide
Let's start by creating a new project, we will be using the IntelliJ idea IDE for this project
An example to Fetch the daily petrol price using Python, pandas, BeautifulSoup
import pandas as pd
from bs4 import BeautifulSoup
Extract data from the Website
r = requests.get(url)
htmldata = getdata("https://www.goodreturns.in/petrol-price.html")
soup = BeautifulSoup(htmldata, 'html.parser')
Declaring required Variables
# Declare string var
# Declare list
mydatastr = ''
result = 
Searching for the variable in HTML data and storing
for table in soup.find_all('tr'):
mydatastr += table.get_text()
mydatastr = mydatastr[1:]
itemlist = mydatastr.split("\n\n")for item in itemlist[:-5]:
Calling DataFrame constructor on the list using pandas
df = pd.DataFrame(result[:-8])
Saving to Excel using pandas and printing rates in console
Step 1: Install Homebrew.
Homebrew installs the stuff you need that Apple (or your Linux system) didn’t.
Homebrew installs packages to their own directory and then symlinks their files into
Homebrew complements macOS (or your Linux system). Install your RubyGems with
gem and their dependencies with
Type following command in terminal to install Homebrew
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Step 2: Install Jenkins
Once Homebrew is installed, you can run the following command which will download and install the current Long-term support (LTS) version of Jenkins.
brew install jenkins-lts