mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 19:52:45 +00:00 
			
		
		
		
	 b667cd69ca
			
		
	
	
		b667cd69ca
		
	
	
	
	
		
			
			From https://www.w3.org/TR/webdriver/#security: It is also suggested that user agents make an effort to visually distinguish a user agent session that is under control of WebDriver from those used for normal browsing sessions. This can be done through a browser chrome element such as a “door hanger”, colorful decoration of the OS window, or some widget element that is prevalent in the window so that it easy to identify automation windows.
		
			
				
	
	
		
			42 lines
		
	
	
	
		
			893 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
	
		
			893 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| @GUI::Widget {
 | |
|     layout: @GUI::VerticalBoxLayout {
 | |
|         spacing: 2
 | |
|     }
 | |
| 
 | |
|     @GUI::ToolbarContainer {
 | |
|         name: "toolbar_container"
 | |
| 
 | |
|         @GUI::Toolbar {
 | |
|             name: "toolbar"
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     @GUI::Frame {
 | |
|         name: "webdriver_banner"
 | |
|         shape: "Box"
 | |
|         shadow: "Sunken"
 | |
|         thickness: 1
 | |
|         preferred_height: "shrink"
 | |
|         foreground_role: "TooltipText"
 | |
|         background_role: "Tooltip"
 | |
|         fill_with_background_color: true
 | |
|         visible: false
 | |
|         layout: @GUI::HorizontalBoxLayout {
 | |
|             margins: [0, 4]
 | |
|         }
 | |
| 
 | |
|         @GUI::Label {
 | |
|             text: "This Browser window is controlled by WebDriver."
 | |
|             text_alignment: "CenterLeft"
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     @GUI::Widget {
 | |
|         name: "webview_container"
 | |
|         layout: @GUI::VerticalBoxLayout {}
 | |
|     }
 | |
| 
 | |
|     @GUI::Statusbar {
 | |
|         name: "statusbar"
 | |
|     }
 | |
| }
 |