Question: Make a class called Browser 1. The _init_method for Browser should store two attributes: incognito and current page. The tribute to see the browse current

 Make a class called Browser 1. The _init_method for Browser should

Make a class called Browser 1. The _init_method for Browser should store two attributes: incognito and current page. The tribute to see the browse current page is the URL of the page that is currently displayed in the browser lee www.google.com The init method should allow the creation of an instance providing values for the uttributes. 2. Make a method called describe_ Browser that prints these two pieces of information 3. Make a method called open_Browser that prints a message indicating that the browser is open 4. Make a method called setcurrent_page that will set the current URL page to a given value 5. Make a method called getcurrent_page that will return the current_pape 6. Make one instance of the Brower class. One named firefox where the incognito is False and the current page is google.com 7. Use the merhod describe_ Browser to print the attributes 8. Use the method open_Browser to print that the browser is open 9. Use the method setcurrent page to change the current_page to one of your choice 10. Use the method getcurrent page to print the current page. For the toolbar, press ALT+F10 PC) or ALT+FN-F10 (Mac. B IVS Paragraph Arial 14px V Q V A2 r +] x? X, TTT T99 (1) 3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!