First go to the contact record page.
Then right click and select Inspect(Ctrl_shift+i).
Go to the elements and select search (Ctrl+f)
Then type the button name for example(New Task) then it will redirect to the that word.
View the id of the button.

First go to the contact record page.
Then right click and select Inspect(Ctrl_shift+i).
Go to the elements and select search (Ctrl+f)
Then type the button name for example(New Task) then it will redirect to the that word.
View the id of the button.
