sunaynat
sunaynat
I think this is happening after cleanup, because we are not manually deleting any report that gets created.
Also tried keyboard events, but doesn't open print window // page.KeyActions().Press(input.MetaLeft).Type(input.KeyP).MustDo() // page.KeyActions().Press(input.ControlLeft).Type(input.KeyP).MustDo() // page.KeyActions().Press(input.ControlRight).Type(input.KeyP).MustDo() // page.KeyActions().Press(input.MetaRight).Type(input.KeyP).MustDo() // page.KeyActions().Press(input.MetaRight).Type(input.KeyP).MustDo() // page.KeyActions().Press(input.ShiftLeft).Type(input.KeyP).MustDo() // page.KeyActions().Press(input.ShiftRight).Type(input.KeyP).MustDo() //page.KeyActions().Press(input.PrintScreen).Type(input.KeyV).MustDo()
tried mouse events also , doesn't open print window // page.Mouse.Click(proto.InputMouseButtonRight, 1) // page.Mouse.Down(proto.InputMouseButtonLeft, 4) // page.Mouse.Click(proto.InputMouseButtonLeft, 1)
tried using page.MustEval(`window.print()`), window opens, but debugger control doesn't comes out of the method, if I manually perform action on the window, I get error test panicked: eval js error:...
I am using mac, browser chrome. want to get print screen and get the devtools information of the print screen. anything which can achieve this would be helpful. used page.MustEval(`window.print()`)...