Selenium Flashcards


Set Details Share
created 2 weeks ago by Sophmore
updated 2 weeks ago by Sophmore
show moreless
Page to share:
Embed this setcancel
COPY
code changes based on your size selection
Size:
X
Show:

1

What does __str__do?

card image

It's used if you want to print the string that the object will return when you want to print the object instead of explicitly calling the function that's gonna return that string

2

what does the keyword pass do?

When you don't want to write anything in the body of the class or function when you just want to initialize it just like putting None or an empty string in a variable

3

what does the keyword Super() do?

it allows you to access the parent class to inherit its methods or attributes

4

What does __delattr__do? why do we use it?

...

5

What does __dir__do? why do we use it?

...

6

What does __dict__do? why do we use it?

...

7

what about assert keyword?

...

8

What does __enter__ and __exit__do? why do we use it? and their parameters

...

9

format()? why do we use it? and their parameters

...

10

comparison operators

...