fbpx

Open Browser and maximize the window

Open Browser and maximize the window

Home Forums Ask Expert Open Browser and maximize the window

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #32862
    Adil Kamal
    Participant

      I would like to know when i launch the browser it doesn’t open as Maximize window and as a result there is no vertical scroll bar appearing as a result i cannot scroll down to find the text object I am looking for. I want to know how I should be able to open the Browser window and maximize?

      #32863
      Sasha ZAP
      Moderator

        Hello Adil,

        You can use the following command:
        Application(“XYZ”).SetWindowState Zap.WindowStates.Maximized
        Application(“XYZ”) – Will be the App;ication object you’ve scanned previously.
        You can check method’s explanation at:
        https://www.zaptest.com/user-zone/product-training/zaptest/zap-namespace-methods/type-windowstates

        Hope this helps.

        Thanks,
        ZAPTEST Team

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.

      Virtual Expert

      ZAPTEST

      ZAPTEST Logo