Webs_webdriver.Wd_browsing_contextBrowsingContext module.
module Box_clip_rectangle : sig ... endmodule Capture_screenshot_result : sig ... endmodule Clip_rectangle : sig ... endmodule Create_result : sig ... endmodule Download_will_begin_params : sig ... endmodule Download_end_params : sig ... endmodule History_updated_params : sig ... endmodule Image_format : sig ... endmodule Info : sig ... endmodule Get_tree_result : sig ... endmodule Locator : sig ... endmodule Locate_nodes_result : sig ... endmodule Print_result : sig ... endmodule Print_margin : sig ... endmodule Print_orientation : sig ... endmodule Print_page : sig ... endmodule Readiness_state : sig ... endmodule User_prompt_type : sig ... endmodule User_prompt_closed_params : sig ... endmodule User_prompt_opened_params : sig ... endmodule Viewport : sig ... endval activate :
Wd.Connection.t ->
?exts:Wd.Exts.t ->
context:Wd.Browsing_context.t ->
unit ->
Wd.Empty_result.tval capture_screenshot :
Wd.Connection.t ->
?exts:Wd.Exts.t ->
context:Wd.Browsing_context.t ->
?origin:[ `Viewport | `Document ] ->
?format:Image_format.t ->
?clip:Clip_rectangle.t ->
unit ->
Capture_screenshot_result.tbrowsingContext.captureScreenshot, format is image/png if unspecified.
val close :
Wd.Connection.t ->
?exts:Wd.Exts.t ->
context:Wd.Browsing_context.t ->
?prompt_unload:bool ->
unit ->
Wd.Empty_result.tval create :
Wd.Connection.t ->
?exts:Wd.Exts.t ->
type':[ `Tab | `Window ] ->
?user_context:Wd.User_context.t ->
?background:bool ->
?reference_context:Wd.Browsing_context.t ->
unit ->
Create_result.tval get_tree :
Wd.Connection.t ->
?exts:Wd.Exts.t ->
?max_depth:int ->
?root:Wd.Browsing_context.t ->
unit ->
Get_tree_result.tval handle_user_prompt :
Wd.Connection.t ->
?exts:Wd.Exts.t ->
context:Wd.Browsing_context.t ->
?accept:bool ->
?user_text:string ->
unit ->
Wd.Empty_result.tval locate_nodes :
Wd.Connection.t ->
?exts:Wd.Exts.t ->
context:Wd.Browsing_context.t ->
locator:Locator.t ->
?max_node_count:int ->
?serialization_options:Wd_script.Serialization_options.t ->
?start_nodes:Wd_script.Shared_reference.t list ->
unit ->
Locate_nodes_result.tval print :
Wd.Connection.t ->
?exts:Wd.Exts.t ->
context:Wd.Browsing_context.t ->
?background:bool ->
?margin:Print_margin.t ->
?orientation:Print_orientation.t ->
?page:Print_page.t ->
?page_ranges:(int * int) list ->
?scale:float ->
?shrink_to_fit:bool ->
unit ->
Print_result.tval reload :
Wd.Connection.t ->
?exts:Wd.Exts.t ->
context:Wd.Browsing_context.t ->
?ignore_cache:bool ->
?wait:Readiness_state.t ->
unit ->
Navigate_result.tval set_bypass_csp :
Wd.Connection.t ->
?exts:Wd.Exts.t ->
bypass:bool ->
?contexts:Wd.Browsing_context.t list ->
?user_contexts:Wd.User_context.t list ->
unit ->
Wd.Empty_result.tval set_viewport :
Wd.Connection.t ->
?exts:Wd.Exts.t ->
?context:Wd.Browsing_context.t ->
?viewport:Viewport.t option ->
?device_pixel_ratio:float option ->
?user_contexts:Wd.User_context.t list ->
unit ->
Wd.Empty_result.tval traverse_history :
Wd.Connection.t ->
?exts:Wd.Exts.t ->
context:Wd.Browsing_context.t ->
delta:int ->
unit ->
Wd.Empty_result.tval context_created : Info.t Wd.Event.tval context_destroyed : Info.t Wd.Event.tval dom_content_loaded : Navigation_info.t Wd.Event.tval download_will_begin : Download_will_begin_params.t Wd.Event.tval download_end : Download_end_params.t Wd.Event.tval history_updated : History_updated_params.t Wd.Event.tval load : Navigation_info.t Wd.Event.tval user_prompt_closed : User_prompt_closed_params.t Wd.Event.tval user_prompt_opened : User_prompt_opened_params.t Wd.Event.t