Selenium WebDriver W3C Standardization

Selenium 4: New Features Selenium 4 - New Featues
20 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$49.99
List Price:  $69.99
You save:  $20
€48.27
List Price:  €67.58
You save:  €19.31
£40.07
List Price:  £56.10
You save:  £16.03
CA$71.86
List Price:  CA$100.61
You save:  CA$28.74
A$80.04
List Price:  A$112.06
You save:  A$32.02
S$68.31
List Price:  S$95.65
You save:  S$27.33
HK$388.64
List Price:  HK$544.12
You save:  HK$155.48
CHF 45.29
List Price:  CHF 63.41
You save:  CHF 18.12
NOK kr566.72
List Price:  NOK kr793.46
You save:  NOK kr226.73
DKK kr360.04
List Price:  DKK kr504.08
You save:  DKK kr144.04
NZ$88.69
List Price:  NZ$124.18
You save:  NZ$35.48
د.إ183.61
List Price:  د.إ257.07
You save:  د.إ73.45
৳6,064.90
List Price:  ৳8,491.34
You save:  ৳2,426.44
₹4,289.89
List Price:  ₹6,006.19
You save:  ₹1,716.30
RM225.50
List Price:  RM315.72
You save:  RM90.22
₦77,257.54
List Price:  ₦108,166.74
You save:  ₦30,909.20
₨13,902.64
List Price:  ₨19,464.81
You save:  ₨5,562.16
฿1,730.85
List Price:  ฿2,423.33
You save:  ฿692.48
₺1,766.88
List Price:  ₺2,473.77
You save:  ₺706.89
B$312.08
List Price:  B$436.94
You save:  B$124.85
R933.80
List Price:  R1,307.40
You save:  R373.59
Лв94.48
List Price:  Лв132.28
You save:  Лв37.80
₩73,223.92
List Price:  ₩102,519.35
You save:  ₩29,295.43
₪181.92
List Price:  ₪254.71
You save:  ₪72.78
₱2,911.11
List Price:  ₱4,075.79
You save:  ₱1,164.67
¥7,885.42
List Price:  ¥11,040.22
You save:  ¥3,154.80
MX$1,028.65
List Price:  MX$1,440.20
You save:  MX$411.54
QR181.98
List Price:  QR254.78
You save:  QR72.80
P693.81
List Price:  P971.38
You save:  P277.57
KSh6,461.20
List Price:  KSh9,046.20
You save:  KSh2,585
E£2,530.65
List Price:  E£3,543.12
You save:  E£1,012.46
ብር6,374.48
List Price:  ብር8,924.79
You save:  ብር2,550.30
Kz45,590.88
List Price:  Kz63,830.88
You save:  Kz18,240
CLP$50,160.15
List Price:  CLP$70,228.22
You save:  CLP$20,068.07
CN¥366.33
List Price:  CN¥512.90
You save:  CN¥146.56
RD$3,049.23
List Price:  RD$4,269.17
You save:  RD$1,219.93
DA6,789.98
List Price:  DA9,506.51
You save:  DA2,716.53
FJ$115.98
List Price:  FJ$162.39
You save:  FJ$46.40
Q385.14
List Price:  Q539.23
You save:  Q154.08
GY$10,438.94
List Price:  GY$14,615.36
You save:  GY$4,176.41
ISK kr6,956.10
List Price:  ISK kr9,739.10
You save:  ISK kr2,783
DH503.50
List Price:  DH704.94
You save:  DH201.44
L926.94
List Price:  L1,297.80
You save:  L370.85
ден2,970.88
List Price:  ден4,159.47
You save:  ден1,188.59
MOP$399.98
List Price:  MOP$560.01
You save:  MOP$160.02
N$936.90
List Price:  N$1,311.74
You save:  N$374.83
C$1,836.79
List Price:  C$2,571.65
You save:  C$734.86
रु6,853.79
List Price:  रु9,595.86
You save:  रु2,742.06
S/187.37
List Price:  S/262.33
You save:  S/74.96
K199.96
List Price:  K279.97
You save:  K80
SAR187.72
List Price:  SAR262.82
You save:  SAR75.10
ZK1,390.27
List Price:  ZK1,946.49
You save:  ZK556.22
L240.14
List Price:  L336.22
You save:  L96.07
Kč1,213.40
List Price:  Kč1,698.86
You save:  Kč485.45
Ft19,997.20
List Price:  Ft27,997.68
You save:  Ft8,000.48
SEK kr553.19
List Price:  SEK kr774.52
You save:  SEK kr221.32
ARS$51,615.42
List Price:  ARS$72,265.73
You save:  ARS$20,650.30
Bs344.95
List Price:  Bs482.97
You save:  Bs138.01
COP$217,506.97
List Price:  COP$304,527.16
You save:  COP$87,020.19
₡25,445.82
List Price:  ₡35,626.19
You save:  ₡10,180.36
L1,268.70
List Price:  L1,776.28
You save:  L507.58
₲390,771.79
List Price:  ₲547,111.78
You save:  ₲156,339.98
$U2,195.71
List Price:  $U3,074.18
You save:  $U878.46
zł205.80
List Price:  zł288.14
You save:  zł82.33
Already have an account? Log In

Transcript

Hello everyone, in this video session, I am going to explain part 18 of selenium four that is Selenium web drivers, W three c standardization Selenium WebDriver drivers Wi Fi standardization. So till Selenium three. It will Selenium three we have the normal WebDriver okay. Normal WebDriver API was there in Selenium in Selenium four, okay. In Selenium for that aim is planning to release the W three c standardized WebDriver API. Okay.

So this WebDriver API is going to be in compliance with this w three standards, okay. So there are some w three c means w three stands for W three C stands for World Wide Web Consortium. Okay. So this World Wide Web Consortium has some standards. Till Selenium three, this WebDriver API was not according to the standards. Okay.

This WebDriver API was a normal API. And it's not according to this w three c standards in Selenium for that Selenium team is planning to release the WebDriver API in compliance with this w three standards. Okay, the blue three standards. So this is a major changes, okay. This is a major highlighted change in Selenium four. That is why the standardization of Selenium WebDriver is a wt says standardization of the WebDriver Selenium WebDriver is a major change major highlighted change in Selenium four guys okay.

So, there are other changes also in Selenium four when compared to Selenium three, but this w three standardization of WebDriver API is a major highlighted change in Selenium four when compared to the all the other remaining changes. So, this is a major shift in Selenium for where we are standardizing the Selenium WebDriver according to the WC three w three c standards now Now we understood the major change in Selenium for now let's find out the different advantages purposes or reasons behind the standardization of the WC of Selenium WebDriver. Okay, W three standardization of Selenium WebDriver. Let's find it out. One after the another one. The first one here is WebDriver Our API is not only used in selenium, but also used in other automation tools.

Okay. What does this mean? So, in Selenium tool, there is something known as WebDriver API, right in Selenium WebDriver API is used as part of the Bridgestone Selenium automation tool. But guys, this WebDriver API is not only restricted for using a Selenium automation tool, but also this WebDriver API is used in other popular okay. Other popular automation tools also. There are a lot of tools in the market guys, which are using this WebDriver API of Suriname, okay, they are dependent on this WebDriver API of selenium.

When Selenium team comes up with this server Ever API changes and upgrades, all the other remaining automation tools also will comply with them like they will. They will, like do changes in their automation tools. So based on the changes done in the WebDriver API, okay, they're like they're using this web driver API as a wrapper. Okay. Let me give some examples guys. Let's say there is a tool known as APM tool and I use driver tool, okay, automation tools.

And in this mobile automation market, okay, these tools are targeting the mobile automation market is mobile automation, test automation, tools research. And this appium is driver which falls below certain simple examples, which are heavily dependent on this these tools are heavily dependent on this WebDriver API only Okay, not just the Selenium automation those guys but also other automation tools, like APM, iOS driver, etc, etc. Okay are also dependent On this WebDriver APA So, so, what will happen okay if you standardize the Selenium WebDriver okay how it is going to impact this other automation tools which are heavily dependent on this WebDriver API apart from Selenium automation tool, okay. thing here is standardizing the Selenium WebDriver will result in the implementation of Selenium WebDriver across different software without any conflict compatible issues. Okay. So, these are heavily dependent of WebDriver APA upon upon standardizing the WebDriver API with the W three standards, okay.

As this WebDriver API is used across this other automation tools, okay, the compatibility issues will be reduced that went ahead It is compatibility will improve cross compatibility of Selenium WebDriver will improve and cross under implementing software's, because of this w three c standardization is advantages. Okay. So, upon standardizing this WebDriver API with this w three standards, as this other tools are dependent on this heavily dependent WebDriver API. Okay, they have implemented this WebDriver API as other tools as they're dependent on this WebDriver API has to implement them okay in their tools, automation tools. So, during the implementation, the compatibility issues may arise, a mismatch things may arise. Now, because of this w three standardization, okay?

And all the tools will follow that up. literacy standards. And because of that, because of that, the compatibility issues will reduce. Okay. The compatibility issues will reduce upon implementation of this WebDriver API in other automation tools. Now, it's not just restricted to mobile automation tools like ipmi use case.

There are many other famous core and polis automation tools in the market, which use WebDriver API internally. Okay. So it's not just IBM or iOS, but there are many other good number of famous and cordless automation tools in the market, which use WebDriver AP internally and because of this w three standardization of Selenium WebDriver all these automation tools, okay, maybe mobile automation or other code or codeless automation tools, which are internally implementing WebDriver. Apa will face very less or will improve their compatibility like compatibility between them okay. Compatibility will improve and it shows compatibility issues will reduce because of this stuff. energization Now the next thing Okay, what else we have on standardizing the Selenium WebDriver with the W three standards.

So, this is like the benefit we will we are going to have in Selenium WebDriver itself okay Selenium tool itself that is a till Selenium three okay in Selenium three the things used to be like this here are we have some Selenium three code okay let's say this is some Selenium three code. Okay some code is there here are in your machine or Eclipse ID or something near local mission. And and this is like built on the WebDriver API right. Some API will be there, the Selenium record will have the what will be there in this a code WebDriver API and some programming language will be there. And this WebDriver API in this permission code of selenium three, to communicate with the browsers. On the other end, we have the browser specs.

Okay. Let's say here we have the browsers, different browsers, like Google Chrome, Firefox, ie, etc. Okay, a lot of browsers are there, which are supporting the Selenium WebDriver. Anyhow. So in order to communicate the Selenium three in order to execute the automation code on these browsers, okay, we need to communicate with this browser side Selenium WebDriver. APA, this WebDriver API has to communicate with this browsers for that in Selenium three, a protocol was there.

Okay. protocol is there that is Jason wire protocol. Okay. So in Selenium three, a protocol known as Jason wire protocol was used for communicating this WebDriver API as you wish commands with this on fra tuition under different browsers. Okay. This is what used to happen in Selenium three.

So how it is going to be different in Selenium four in Selenium four because of the W three standardization of WebDriver API, we got a new protocol. Okay. So here again the same here WebDriver API is F for our API let's call it for now. Okay. And in between what is the protocol? We are going to use the protocol he had got replaced JSON via protocol.

What replaced in Selenium four with which protocol? w three c protocol is okay. And on the other side, we have this browsers different browsers like Chrome, Firefox, ie etc Now besides the different browsers we have and wjc protocol used in Selenium for for communicating between this web Selenium for WebDriver API with the different browsers here in place of JSON wire protocol, we are going to use WC protocol as per the standard w three standardization of the WebDriver. API in Selenium four. So is there any difference of using by using this a different protocol here in case of selenium four? thing here is this API requests and responses need to be in case of JSON via protocol of selenium?

Three, this WebDriver API requests and responses need to be encoded and decoded. Okay. Generally we use encoding and decoding for security reasons, okay. So normal text will be replaced by some XYZ text that no hacker cannot understand such kind of things. Okay, technically speaking, okay. So such kind of encoding and decode decoding kind of concept will is used by JSON Web protocol for encoding and decoding the request and response of this WebDriver API in case of selenium three.

But in Selenium four because of this WC three, standardization as per that we are using WCC protocol which doesn't require this encoding and decoding this okay. And direct communication will happen between the WebDriver API browsers here that communication will not happen before the communication happens between this WebDriver and API in this browsers. The requests and responses handled by this JSON Web protocol need to be encoded and decoded but in case of Wi Fi protocol, this encoding and decoding is not required okay. So that is another change is encoding this this actually reduced the efforts okay. So it will be more smooth and the communication will happen more directly than before Okay. Now, the next thing is just because of this drivers w three standardization, okay.

So we are way to get more advantages in Selenium guys, first thing is that Selenium is Selenium WebDriver is going to become standard standard okay. Standardized, okay. Then it's going to become more stable, stable stable as will increase and trustworthy as that communication is going to be improved like direct communication is always going to happen that means it's more trustworthy and it same time guys. Like recall. The software Selenium software delivery is not WAC standardized. That means many companies prefer many companies prefer the automation tools which are WCC standardized so that they can trust them.

Like some tools like UDP or something are rigorously using the market. And some companies blindly trust them because they're kind of standardized, but coming to the Selenium till now it's not standardized guys now in Selenium four is going to be standardized and therefore it's better To be trustworthy and just because of this trustworthiness in the market is going to become more popular in the market okay than before. Selenium is going to become more popular in the market than before because of this standardization of WCC standards okay. So, that is another advantage we are going to get in Selenium for as per this the Selenium WebDriver w three standardization now, and one more thing that has that is going to happen here is till now, okay, till Selenium three. Till Selenium three, we don't have any WebDriver API documentation. Okay.

It is WebDriver documentation, like how each and every command inside this WebDriver API is going to work internally like which method API method is going to be called internally like get method POST method with your your a request and all those stuff are not available. Only the command names and how they are going to work for us to be available. Okay, but in Selenium for asper this router is a standardization process. Okay. So there is going to be okay there is going to be a WCC recommendation document for WebDriver API. Okay working of this WebDriver API.

As per the standardization process in Selenium four, there is going to be, they're going to release a W three say recommended documentation for working of this WebDriver. API S is available at this WAC recommendation document for WebDriver. Up API is now available at this URL base. Let me open this URL. So you can see here this is a Okay, W three see the commanded documentation for this WebDriver API. So Apart from having the commands, we are going even going to have the internals Okay, so, let me show you, let's say let's say these are the navigation commands here, navigate to if you click on that, so in this navigator method we will internally use this POST method, each trip method as post and you are is this is a URL okay that you are going to pass okay to make this work and you are going to pass the URL right there we're going to pass a URL as part of this.

So this is example Yes. Okay. So this is a request body you can say where you are going to pass this you are internally it's going to be like this guys, okay, each and every command in Selenium WebDriver. Okay, we will have an internal request body and all those stuff, okay, HTTP method URL that we are going to pass okay as per the request. Then body where you will mention some application URL and all the stuff okay. Internal internal structure of the APA and everything.

Is now available. Okay as per the recommendations of this w three c recommendations Okay, so they're providing the Selenium guys will know will provide this WebDriver So, W three standardized recommendation document also okay from Selenium four is already on the way they already created to some extent okay. So, there is another change that you are going to see as part of this w three standardization of this Selenium WebDriver where you will see the WebDriver APA, internal working documentation, okay, fine. And just because of having this w three standardization of WebDriver it reduces the compatibility issues that are different supported browsers. Okay. So, like a lot reduces the compatibility issues across different supported browsers, many browsers support the Selenium WebDriver API, right.

So the there is a like a working nature of the browsers is different From each and every browser, right, let's say this is a WebDriver API, let's say. And this WebDriver API is supported on different browsers, like let's say there is something like Chrome browser. Okay. And there is something like Firefox browser. And something like IE browser, Edge browser and other browsers that are different browsers, which actually support this WebDriver API. But the nature of this Chrome browser may be different from the implementation of this Firefox browser.

And it will be different from IE browser. So working nature and it will be different from each browser. Working nature and because of the WebDriver API may have to like work differently with the different browsers earlier. Okay, it is Selenium three, but in Selenium for because of this WebDriver API standardization, okay, so it's going to smooth This process Okay, the compatibility is going to increase like anything, okay? Because all the browser's are going to follow the W three standards. And same time WebDriver API is also going to get a W three standardized.

This makes the compatibility more flexible and good guys, and which actually reduces the compatibility issues across different supported browsers, we are going to see less, we are not going to see compatibility issues when you execute your automation scripts on different browsers. Okay, using the Selenium WebDriver API standardized So guys, this is how wt standardization of Selenium WebDriver is going to impact and give a highlight major change in Selenium four and like that this is going to the major highlight is changing Selenium four just because of all these reasons, guys. So that's it guys. In the next video session, I will explain other pending topics on Selenium 400 new feature space. That's it. See you in the next video session.

Thank you Bye

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.