Clicking on a web link in the application and opening safari the test crashes

So I have a test set up which clicks on a web link in appium.
This test will then open Safari which I was able to access in the inspector.
However when running the test when clicking on the link the app will automatically crash because the app was closed.
Is there anyway around this? Thanks

1 Like