XCUITest cannot inspect React page in app

I'm pushing XCUITest in my company.

Our client uses React to render some pages, but these pages cannot be recognized by XCUITest.

such as buttons does not exist, and UITest Recorder throw error.