Skip to content

Commit

Permalink
API: remove @deprecated clause; it's too noisy
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyti committed Sep 26, 2024
1 parent 958cb06 commit 80ca654
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/playwright/page/accessibility.ex
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,10 @@ defmodule Playwright.Page.Accessibility do
|> (&(Enum.find(&1.children, fn e -> e.readonly end))).()
%{name: "pick me", readonly: true, role: "textbox"}
"""
@doc deprecated: "Please use other libraries such as [Axe](https://www.deque.com/axe/) if you need to test page accessibility.
See the Playwright.dev Node.js [guide](https://playwright.dev/docs/accessibility-testing) for integration with Axe."
@doc deprecated: "Please use other libraries such as
[Axe](https://www.deque.com/axe/) if you need to test page accessibility.
See the Playwright.dev Node.js [guide](https://playwright.dev/docs/accessibility-testing)
for integration with Axe."
def snapshot(page, options \\ %{})

def snapshot(%Page{session: session} = page, options) do
Expand Down

0 comments on commit 80ca654

Please sign in to comment.