All right, so before we go even further, I mean even further, cause if we want to right any launch
options and things of that nature, all you're going to do is you can just do something like longe option.
You can see that the class comes in and there is a large, persistent options which you can set even
further details on the particular class.
If you go to the large persistent option, you can see that it brings you up the contest provisions,
class Keen's credentials record with the options and things of that nature, and it is actually using
the launch option as the best class which does things for you.
Yeah, so those things still remains the same on this particular language bindings.
Haspel So I'm just going to use the lunch options or lunch option is equal to the new of the lunch options
where I can actually set different properties over here so I can set something like the Headless so
you can see that the property comes in.
So hitless is equal to falls.
And if I want to enable the dev tools that I can just step tools.
That's true.
And if I want to add anything else, like download pod environment, executable pods and slowmo so I
can set the slowmo as well.
So all these things remains pretty much exactly the same for this particular language binding assessment.
So I can just copy this launch option.
And if I paste this over here, you can see that it works because if you see in launch, I think they
have the launch option, this option as one of the older property for the launch, I think constructor.
So they remain the same as well.
So if I try to run this and see what's going to happen, you can see that it's working fine as well.
And the one thing that you need to know what is like in all the language bindings, we actually have
the automatic weight of the payload as well, which is also quite good because with automatic weight,
we can actually don't really have to write any of the weight mechanism.
It's all taken care by itself, which is quite good as well.
I mean, don't worry about the failure over here because we have modified the slowmo and we have enabled
the tools.
That's why it may be failing.
But but yes, this is the idea that you really need to know as well.
And going back to the examples like what they have at the moment, you can see that we can also do the
network interception pretty much exactly like how we did for the other coding practices, like other
language bindings.
So if I just do a public housing task of network interception and if I just put a test like that and
you can see that the coding is going to be pretty much exactly the same thing as well that comes on
over here.
Um, yeah, that's it.
So it looks pretty cool as well.
I mean, you can see that we can create playwrite Firefox, new context, new pages.
And over here, I'm just going to write a page route.
I think that I'm going to pass that Stollsteimer round underscore.
And I'm just saying that just write the rawData you want them.
And if I try to run this, you can see that it has got past.
But if you see on the console, you can also get all the intercepted messages coming in, which it has
written on the console lock, which is quite good.
And similarly, we can try blocking the road, something like how we did in our earlier sections for
the language bindings so we can do something like if.
If they rodarte, that request dard.
The resource type is equal to resource type dot image, so you can see that this is quite good in C
Sharp then compared to the Java or the types of language bending because it's kind of strongly typed
code like ENUM.
So it is very easy to work with as well.
And I can just do an apart I think.
And if not just we can put on the ls and we can see and continuous and the code is going to work and
I can just do an amazing dot com.
And you should note here that I'm not closing the playwright anywhere and the browser anywhere because
we are using this using over here.
So the destruction is going to happen for this object over at the end of this particular test method
itself.
So it automatically take out of that particular destruction's and the garbage collections, which is
quite good.
We don't have to worry about any of these and those are going to be taken care for us automatically.
Oops.
I should have, uh, copy paste or the, uh, lunch option as well, because you don't really see.
It's going to be coming, I don't really have to set the dev tools and stuff.
Yeah, let's try to run that.
So you can see that the browser is coming in and you can see that there is no image being loaded, which
is quite cool.
So this way we can see that we could be able to do the network interception for a particular image or
something like that.
So similarly, you can actually do for other options as well.
So these are rather cool things that we can do and you can just try doing the exact same labs that we
discussed in our earlier section in the JavaScript language binding in the C sharp as well, and see
how it actually works is going to be pretty much exactly the same syntax and same same coding practices.
There is no change at all.